-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.Rhistory
132 lines (132 loc) · 2.67 KB
/
.Rhistory
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
library(roxygen2)
library(devtools)
document()
document()
library(roxygen2)
library(devtools)
document()
check()
library(roxygen2)
library(devtools)
document()
library(roxygen2)
library(devtools)
document()
library(devtools)
document()
check()
usethis::use_testthat()
document()
document()
check()
document()
check()
check()
document()
test()
document()
#usethis::use_testthat()
test()
check()
?stopCluster
document()
document()
check()
j<-vector()
for (j in 1:10) j+1
j
for (j in 1:10) j=j+1
j
document()
check()
load_all()
##demo
data(toydata)
### toydata is simulated, with n=200, p=1000, true p0=60,
## x1-x20, x41-x80 are true predictors
x=toydata[,-c(1:2)]
y=toydata[,1:2]
myres<-RAEN(x[,1:100],y, B = 50,ngrp=5,ncore=30)
##demo
data(toydata)
library(RAEN)
### toydata is simulated, with n=200, p=1000, true p0=60,
## x1-x20, x41-x80 are true predictors
x=toydata[,-c(1:2)]
y=toydata[,1:2]
myres<-RAEN(x[,1:100],y, B = 50,ngrp=5,ncore=30)
myres
dim(myres)
build_manual()
build()
library(roxygen2)
library(devtools)
document()
check()
install()
build()
library(RAEN)
##demo
data(toydata)
### toydata is simulated, with n=200, p=1000, true p0=60,
## x1-x20, x41-x80 are true predictors
x=toydata[,-c(1:2)]
y=toydata[,1:2]
###This package relies on doMC, which is not available on Windows
###deCorr is the decorrelation procedure
###grpselect is the step 1: split-and-merge
##r2select is the step 2: final estimate
##modLSA is the modified LSA
###RAEN is the wrapper function, ncore is the number of cores for parallel computing
fgrp<-deCorr(x,ngrp=30)
load_all()
document()
install()
library(RAEN)
##demo
data(toydata)
### toydata is simulated, with n=200, p=1000, true p0=60,
## x1-x20, x41-x80 are true predictors
x=toydata[,-c(1:2)]
y=toydata[,1:2]
###This package relies on doMC, which is not available on Windows
###deCorr is the decorrelation procedure
###grpselect is the step 1: split-and-merge
##r2select is the step 2: final estimate
##modLSA is the modified LSA
###RAEN is the wrapper function, ncore is the number of cores for parallel computing
fgrp<-deCorr(x,ngrp=30)
library(devtools)
library(roxygen2)
#install_github('saintland/RAEN')
document()
check()
check()
#install_github('saintland/RAEN')
document()
check()
build()
#build(binary=T)
build_manual()
check()
#install_github('saintland/RAEN')
document()
#usethis::use_testthat()
test()
check()
build()
#install_github('saintland/RAEN')
document()
build()
suppressMessages(library(RAEN))
#usethis::use_testthat()
usethis::use_vignette("RAEN_Tutorial")
tinytex::tlmgr_search('sagej')
installed.packages('rticles')
install.packages('rticles')
install.packages("rticles")
library(devtools)
check()
document()
library(devtools)
usethis::use_vignette("RAEN_Tutorial")