View source: R/MakeLVsFromDataFrame.R
MakeLVsFromDataFrame | R Documentation |
Make a list of indices for latent variables so that it is in the right format for INLA
MakeLVsFromDataFrame(dat, nLVs)
dat |
A data frame or matrix |
nLVs |
Number of latent varaibles required |
list of data frames with indices for teh latent variables.
MakeLVsFromDataFrame(matrix(1:10, ncol=5), nLVs=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.