Sets factor/loadings pairs to zero and then removes them from the flash object. Note that this will change the indices of existing pairs.

flash_factors_remove(flash, kset)

Arguments

flash

A flash or flash_fit object.

kset

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

Value

The flash object from argument flash, with the factors specified by kset removed.