projects
/
valse.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Adjustments for CRAN upload
[valse.git]
/
test
/
pkgExample.R
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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)