Learn R Programming

flashier (version 1.0.7)

flash_factors_reorder: Reorder factors in a flash object

Description

Reorders the factor/loadings pairs in a flash object.

Usage

flash_factors_reorder(flash, kset)

Value

The flash object from argument flash, with the factors reordered according to argument 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.