Description Usage Arguments Examples
Extract the linear predictors of a lvm object
1 2 3 4 5 |
x |
|
... |
additional arguments to be passed to the low level functions |
type |
slot to be return. Can be |
lp |
which linear predictor to consider |
format |
should the results be kept as the list or returned as a single vector |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## regresssion
m <- lvm.reduced()
m <- regression(m, x=paste0("x",1:10),y="y", reduce = TRUE)
lp(m)
lp(m, type = c("x","link"), format = "list2")
lp(m, type = NULL)
## lvm
m <- lvm.reduced()
m <- regression(m, x=paste0("x",1:10),y="y1", reduce = TRUE)
m <- regression(m, x=paste0("x",51:150),y="y2", reduce = TRUE)
covariance(m) <- y1~y2
lp(m)
lp(m, type = "x", format = "list")
lp(m, lp = 1, type = "link")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.