Adjustments for CRAN upload
[valse.git] / test / pkgExample.R
CommitLineData
64cceb2e
BA
1library(valse)
2n = 50; m = 10; p = 5
3beta = array(0, dim=c(p,m,2))
4beta[,,1] = 1
5beta[,,2] = 2
6data = generateXY(n, c(0.4,0.6), rep(0,p), beta, diag(0.5, p), diag(0.5, m))
7X = data$X ; Y = data$Y
8res = runValse(X, Y, kmax = 5)