flash_factors_reorder: Reorder factors in a flash object

View source: R/flash_factors_reorder.R

flash_factors_reorderR Documentation

Reorder factors in a flash object

Description

Reorders the factor/loadings pairs in a flash object.

Usage

flash_factors_reorder(flash, kset)

Arguments

flash

A flash or flash_fit object.

kset

A vector of integers specifying the new order of the factor/loadings pairs. All existing factors must be included in kset; to drop factors, use flash_factors_remove.

Value

The flash object from argument flash, with the factors reordered according to argument kset.


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