Description Usage Arguments Details Value
Initialize an SBFAC model
1 2 |
D |
a numeric matrix where rows are variables and columns are observations |
num.factor |
number of factors |
load.var.type |
Not yet implemented |
priors |
A list of prior parameters. taua and taub are the shape and rate parameters for the gamma prior on the loadings precision tau (i.e. E[tau] = taua/taub) and rhoa, rhob are the parameters of the beta prior on rho. |
obslabel |
a character vector of labels for each observation |
varlabel |
a character vector of labels for each variable |
... |
ignored |
This function accepts a data matrix D
and specified options,
returning an S3 object of class sbfac.
An S3 object of class sbfac
, which is a list. The elements
ldata, loadings, scores, tauinv and rho are initialized values of model parameters. By default
these are randomly initialized; you can overwrite them if desired.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.