| flash_add_fixed_loadings | R Documentation |
Add a set of fixed loadings to a flash fit object
flash_add_fixed_loadings(data, LL, f_init = NULL, fixl = NULL,
init_fn = "udv_si", backfit = TRUE, ...)
data |
An n by p matrix or a flash data object created using
|
LL |
The loadings, an n by K matrix. Missing values will be initialized by the mean of the relevant column (but will generally be re-estimated when refitting the model). |
f_init |
The flash object or flash fit object to which new
factors are to be added. If |
fixl |
An n by K matrix of |
init_fn |
The function used to initialize factors. Options include:
A user-specified function can also be used. This function should
take parameters |
backfit |
If |
... |
Additional parameters to be passed to |
A flash object, with loadings initialized from LL,
and corresponding factors initialized to zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.