View source: R/flash_factors_fix.R
| flash_factors_fix | R Documentation |
Fixes loadings \ell_{\cdot k} or factors f_{\cdot k}
for one or more factor/loadings pairs, so that their values are not
updated during subsequent backfits. For a given pair, either the loadings
or factor can be fixed, but not both, and either all entries or a subset
can be fixed. To unfix, use function flash_factors_unfix. See
flash_factors_init for an example of usage.
flash_factors_fix(
flash,
kset,
which_dim = c("factors", "loadings"),
fixed_idx = NULL,
use_fixed_in_ebnm = NULL
)
flash |
A |
kset |
A vector of integers indexing the factor/loadings pairs whose loadings or factors are to be fixed. |
which_dim |
Whether to fix factors or loadings. |
fixed_idx |
If |
use_fixed_in_ebnm |
By default, fixed elements are ignored when
solving the EBNM subproblem in order to estimate the prior |
The flash object from argument flash, with
factors or loadings fixed as specified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.