-
Notifications
You must be signed in to change notification settings - Fork 1
/
source file and import packages.R
28 lines (24 loc) · 1.25 KB
/
source file and import packages.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# load files and import packages ------------------------------------------
source('mobis_code/r_module/install_packages.R', chdir = TRUE)
source('mobis_code/r_module/wkb2lonlat.R', chdir = TRUE)
source('mobis_code/r_module/utc2local_time.R', chdir = TRUE)
source('mobis_code/r_module/hierarchical_clustering.R', chdir = TRUE)
source('mobis_code/r_module/namelist.R', chdir = TRUE)
source('mobis_code/r_module/multi_classification_kfold_cv.R', chdir = TRUE)
library('readr')
suppressPackageStartupMessages(library('dplyr'))
suppressPackageStartupMessages(library('stringi'))
suppressPackageStartupMessages(library('lubridate'))
suppressPackageStartupMessages(library('data.table'))
suppressPackageStartupMessages(library('VIM'))
suppressPackageStartupMessages(library('rgdal'))
suppressPackageStartupMessages(library('caret'))
library('sp')
library('parallel')
library('Boruta')
# load("/data/mobis/data/enrichments/scratch/clf_tp_all.RData")
# load("/data/mobis/data/enrichments/scratch/imputed_activity.RData")
# load("/data/mobis/data/enrichments/scratch/all_legs.RData")
# load("/data/mobis/data/enrichments/scratch/clf_tm_all.RData")
# load("/data/mobis/data/enrichments/scratch/imputed_mode.RData")
# load("/data/mobis/data/enrichments/scratch/participants.RData")