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