Description Usage Arguments Value
This function trains a factor analysis model in Stan.
1 |
train |
data frame. The training data set, consisting of counts. Columns represent variables, rows represent observations. |
gp_train |
vector. Groups for each observation. |
nfac |
numeric. The number of factors. |
... |
Arguments passed to |
A list.
train |
Training data set. |
gp_train |
A vector of groups for each observation. |
loadings |
Aggregated loadings. |
scores |
Aggregated factor scores. |
noise |
Aggregated residual covariance matrix. |
stan_mod |
An object of S4 class |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.