clean_n_pc: Check and clean n_pc argument

View source: R/mifa-helpers.R

clean_n_pcR Documentation

Check and clean n_pc argument

Description

Check and clean n_pc argument

Usage

clean_n_pc(n_pc, n_cov_vars)

Arguments

n_pc

User-supplied n_pc argument. An integer vector.

n_cov_vars

Number of variables in the covariance matrix

Value

Cleaned n_pc. An integer vector. Sorted, if applicable.


mifa documentation built on June 8, 2025, 1:56 p.m.