-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.R
executable file
·58 lines (51 loc) · 1.66 KB
/
global.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
## read data from disk
data.all <- readRDS("data_mrg.rda")
## define global variables
i.list <- list(
"Financial Success" = "fsu_i",
"Entrepreneurship" = "ent_i",
"Positive Work Relationships" = "pwr_i",
"Positive Impact" = "pim_i",
"Learning and Development" = "lde_i",
"Work-Life Balance" = "wlb_i",
"Financial Security" = "fse_i")
a.list <- list(
"Financial Success" = "fsu_a",
"Entrepreneurship" = "ent_a",
"Positive Work Relationships" = "pwr_a",
"Positive Impact" = "pim_a",
"Learning and Development" = "lde_a",
"Work-Life Balance" = "wlb_a",
"Financial Security" = "fse_a")
gap.list <- list(
"Financial Success" = "fsu_gap",
"Entrepreneurship" = "ent_gap",
"Positive Work Relationships" = "pwr_gap",
"Positive Impact" = "pim_gap",
"Learning and Development" = "lde_gap",
"Work-Life Balance" = "wlb_gap",
"Financial Security" = "fse_gap")
ind.list <- list(
"Overall Career Success" = "carsuc",
"No. of Occupations" = "no_occ",
"No. of Employers" = "no_emp",
"No. of Promotions" = "no_prom",
"Career Aspirations" = "carasp",
"Turnover Intention" = "turnint",
"Supervisor Support" = "svsupp",
"Affective Commitment" = "affcom",
"Employability" = "employ",
"Employee development" = "pied",
"Life Satisfaction" = "lifesat",
"Health" = "health"
)
cnt.list <- list(
"GDP" = "gdp",
"Global Competitiveness Score" = "gcs",
"Gini Coefficient" = "gini",
"Poverty rate" = "povr",
"Education/Skills" = "educ"
)
all.list <- list(i.list, a.list, gap.list, ind.list, cnt.list)
## read data info table from disk
info.tab <- readRDS("info_tab.rda")