projects
/
valse.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Adjustments for CRAN upload
[valse.git]
/
test
/
pkgExample.R
Commit
Line
Data
64cceb2e
BA
1
library(valse)
2
n = 50; m = 10; p = 5
3
beta = array(0, dim=c(p,m,2))
4
beta[,,1] = 1
5
beta[,,2] = 2
6
data = generateXY(n, c(0.4,0.6), rep(0,p), beta, diag(0.5, p), diag(0.5, m))
7
X = data$X ; Y = data$Y
8
res = runValse(X, Y, kmax = 5)