flash_init | R Documentation |
Sets up a flash
object with no factors. Since all other
flash_xxx
functions take a flash
or flash_fit
object
as their first argument, calling flash_init
should be the first step
in any flash
pipeline. See flash
for examples of usage.
flash_init(data, S = NULL, var_type = 0L, S_dim = NULL)
data |
The observations. Usually a matrix, but can also be a sparse
matrix of class |
S |
The standard errors. Can be |
var_type |
Describes the structure of the estimated residual variance.
Can be Note that if any portion of the residual variance is to be estimated, then
it is usually faster to set |
S_dim |
If the argument to |
An initialized flash
object (with no factors).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.