-
Notifications
You must be signed in to change notification settings - Fork 0
/
R30_install_packages_not_on_CRAN.R.REMOTE.2720.R
163 lines (117 loc) · 5.31 KB
/
R30_install_packages_not_on_CRAN.R.REMOTE.2720.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
remove.packages('rstan')
options(repos = c(getOption("repos"), rstan = "http://wiki.stan.googlecode.com/git/R"))
install.packages('rstan', type = 'source')
library(rstan)
set_cppo("fast")
schools_code <- '
data {
int<lower=0> J; // number of schools
real y[J]; // estimated treatment effects
real<lower=0> sigma[J]; // s.e. of effect estimates
}
parameters {
real mu;
real<lower=0> tau;
real eta[J];
}
transformed parameters {
real theta[J];
for (j in 1:J)
theta[j] <- mu + tau * eta[j];
}
model {
eta ~ normal(0, 1);
y ~ normal(theta, sigma);
}
'
schools_dat <- list(J = 8,
y = c(28, 8, -3, 7, -1, 1, 18, 12),
sigma = c(15, 10, 16, 11, 9, 11, 10, 18))
fit <- stan(model_code = schools_code, data = schools_dat,
iter = 1000, chains = 4)
print(fit)
fit3 <- stan(fit = fit2, data = schools_dat, iter = 1000000, chains = 4)
print(fit3)
plot(fit2)
save(fit3, file = "fit3.RData")
require(devtools)
install_github("slidify", "ramnathv")
install_github("slidifyLibraries", "ramnathv")
install.packages('devtools')
library(devtools)
install_github(repo='jagstools', username='johnbaums')
install.packages("D:/05 R-Literatur/13 GAMLSS/gamlss.boot_1.6-5.zip", repos = NULL)
install.packages("D:/05 R-Literatur/13 GAMLSS/gamlss.rsm_1.0.zip", repos = NULL)
install.packages("D:/05 R-Literatur/13 GAMLSS/gamlss.sparse_0.0-1.zip", repos = NULL)
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/concord_1.4-9.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/covRobust_1.0.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/mblm_0.11.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/mimR_2.6.2.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/MISA_2.11.1-1.0.1.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/mixer_1.5.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/moc_1.0.5.1.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/mprobit_0.9-3.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/pcurve_0.6-3.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/predbayescor_1.1-4.tar.gz",
repos = NULL, type = "source")
install.packages("D:/05 R-Literatur/10 R-Packages_Manuals/ThreeGroups_0.1.tar.gz",
repos = NULL, type = "source")
install_github('pisa', 'jbryer')
install_github('TriMatch', 'jbryer')
install_github('irutils', 'jbryer')
install_github('makeR', 'jbryer')
install_github('sqlutils', 'jbryer')
install_github('retention', 'jbryer')
install_github('likert', 'jbryer')
install.packages("BradleyTerry2")
install.packages("coefplot2", repos="http://www.math.mcmaster.ca/bolker/R",type="source")
install.packages("spikeslab", type = "source")
install_github(repo = "HandyStuff", username = "bryanhanson", ref = "master")
install.packages("latticist")
install.packages("rggobi")
install.packages("playwith", depend = TRUE)
install.packages("googleVis")
install.packages(c("RLRsim", "ellipse", "WWGbook"))
install.packages(c("lme4.0", "nlmeU", "nlmeUpdK"),
repos = "http://R-Forge.R-project.org")
install.packages(c("mlmRev", "pamm"))
install.packages("Gqr", repos="http://R-Forge.R-project.org", type = "source")
install.packages("MEMSS", repos="http://R-Forge.R-project.org", type = "source")
install.packages("SASmixed", repos="http://R-Forge.R-project.org", type = "source")
install.packages("lme4.0",repos=c("http://lme4.r-forge.r-project.org/repos",
getOption("repos")), type ="source")
install.packages("lme4",repos="http://lme4.r-forge.r-project.org/repos")
install.packages(c("coda", "sfsmisc", "MatrixModels"))
install.packages("lme4")
install.packages("CORElearn")
install.packages("D:/01 R-Literatur/Max_Kuhn_&_Kjell_Johnson_2013_Springer_-_Applied_Predicitve_Modelling_(1st-Ed)/AppliedPredictiveModeling_1.1-1.tar.gz",
repos = NULL, type = "source")
install.packages("msme")
install.packages("geeM")
devtools::install_github('R2DOC', 'davidgohel')
devtools::install_github('R2DOCX', 'davidgohel')
# data(druguse)
# demo("Ch-EFA")
# country = c("Algeria", "Cameroon", "Madagascar", "Mauritius", "Reunion", "Seychelles",
# "South Africa (C)", "South Africa (W)",
# "Tunisia", "Canada", "Costa Rica", "Dominican Rep.", "El Salvador",
# "Greenland", "Grenada", "Guatemala",
# "Honduras", "Jamaica", "Mexico", "Nicaragua", "Panama", "Trinidad (62)",
# "Trinidad (67)",
# "United States (66)", "United States (NW66)", "United States (W66)",
# "United States (67)", "Argentina",
# "Chile", "Colombia", "Ecuador")
#
# life2 <- as.data.frame(cbind(country, life))
#
# library(foreign)
# write.foreign(life2, "D:/life.txt", "D:/life.sps", package="SPSS")