flash_factors_set_to_zero: Set flash factors to zero

View source: R/flash_factors_remove.R

flash_factors_set_to_zeroR Documentation

Set flash factors to zero

Description

Sets factor/loadings pairs to zero but does not remove them from the flash object (so as to keep the indices of existing pairs the same).

Usage

flash_factors_set_to_zero(flash, kset)

Arguments

flash

A flash or flash_fit object.

kset

A vector of integers specifying which factor/loadings pairs to set to zero.

Value

The flash object from argument flash, with the factors specified by kset set to zero.

See Also

flash_factors_remove


flashier documentation built on Oct. 17, 2023, 5:07 p.m.