clean_n_pc: Check and clean n_pc argument

Description Usage Arguments Value

View source: R/mifa-helpers.R

Description

Check and clean n_pc argument

Usage

1
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 Jan. 22, 2021, 5:10 p.m.