e01c9b1f |
1 | install.packages("shock") |
2 | library("shock", lib.loc="~/R/x86_64-pc-linux-gnu-library/3.3") |
3 | source('~/Dropbox/GLLiM-shock/code prediction intervals/IC inverse intercept.R') |
4 | mean(res[1,]) |
5 | source('~/Dropbox/GLLiM-shock/code prediction intervals/IC inverse intercept.R') |
6 | mean(res[1,]) |
7 | &e-2 |
8 | 1e-2 |
9 | library("devtools", lib.loc="~/R/x86_64-pc-linux-gnu-library/3.3") |
10 | library("roxygen2", lib.loc="~/R/x86_64-pc-linux-gnu-library/3.3") |
11 | setwd("~/valse") |
12 | document() |
13 | document() |
14 | document() |
15 | document() |
16 | document() |
17 | document() |
18 | document() |
19 | document() |
20 | setwd("~/") |
21 | document() |
22 | setwd("~/valse") |
23 | document() |
24 | setwd("~/") |
25 | install('valse') |
26 | install('valse') |
27 | ?valse |
28 | install("valse") |
29 | ?kmeans |
30 | x = rnorm(50) |
31 | kmeans(x) |
32 | library("mclust", lib.loc="~/R/x86_64-pc-linux-gnu-library/3.3") |
33 | install.packages("Rmixmod") |
34 | A = matrix(0,dim = c(2,3)) |
35 | A = matrix(0,dim = c(2,3)) |
36 | A = matrix(0,ncol=3,nrow=2 |
37 | ) |
38 | dim(A) |
39 | dim(A)[1] |
40 | mclust(x) |
41 | Mclust(x) |
42 | x |
43 | A |
44 | B = matrix(2,nrow=2,ncol=2) |
45 | matrix(c(A,B)) |
46 | matrix(c(A,B),nrow=2) |
47 | C =matrix(c(A,B),nrow=2) |
48 | Mclust(C,k=2) |
49 | Mclust(C) |
50 | Mclust(A) |
51 | A |
52 | Mclust(x) |
53 | Mclust(x,2) |
54 | class = Mclust(x,2) |
55 | names(class) |
56 | class$classification |
57 | generateI0default(10,5,5,2) |
58 | setwd("~/valse/R") |
59 | generateI0default(10,5,5,2) |
60 | generateIOdefault(10,5,5,2) |
61 | source('~/valse/R/generateIOdefault.R', echo=TRUE) |
62 | generateIOdefault(10,5,5,2) |
63 | source('~/valse/R/generateIO.R', echo=TRUE) |
64 | generateIOdefault(10,5,5,2) |
65 | source('~/valse/R/generateIOdefault.R', echo=TRUE) |
66 | generateIOdefault(10,5,5,2) |
67 | source('~/valse/R/generateIO.R', echo=TRUE) |
68 | generateIOdefault(10,5,5,2) |
69 | source('~/valse/R/generateIO.R', echo=TRUE) |
70 | generateIOdefault(10,5,5,2) |
71 | source('~/valse/R/generateIO.R', echo=TRUE) |
72 | generateIOdefault(10,5,5,2) |
73 | source('~/valse/R/generateIOdefault.R', echo=TRUE) |
74 | generateIOdefault(10,5,5,2) |
75 | source('~/valse/R/generateIO.R', echo=TRUE) |
76 | generateIOdefault(10,5,5,2) |
77 | source('~/valse/R/generateIO.R', echo=TRUE) |
78 | generateIOdefault(10,5,5,2) |
79 | source('~/valse/R/generateIOdefault.R', echo=TRUE) |
80 | A = generateIOdefault(10,5,5,2) |
81 | source('~/valse/R/generateIO.R', echo=TRUE) |
82 | A = generateIOdefault(10,5,5,2) |
83 | A |
84 | A = generateIOdefault(10,5,6,2) |
85 | A |
86 | Mclust(A$Y) |
87 | library("mclust", lib.loc="~/R/x86_64-pc-linux-gnu-library/3.3") |
88 | Mclust(A$Y) |
89 | X = A$X |
90 | Y = A$Y |
91 | X |
92 | Y |
93 | save(X,Y,file="data.RData") |
94 | load("~/valse/R/data.RData") |