nominal_link: Nominal Link Function

View source: R/cavi_auxiliary_traits.R

nominal_linkR Documentation

Nominal Link Function

Description

Map the K-dimensional auxiliary trait to a nominal manifest trait.

Usage

nominal_link(X, levels, perform_checks = TRUE)

Arguments

X

A NxK matrix of real values

levels

An unordered factor vector of length K. The unordered categories to which manifest traits can belong.

perform_checks

Logical. Check if function inputs are specified correctly.

Value

An N-dimensional vector of unordered factors with K levels. A nominal manifest trait.


jpmeagher/vbar documentation built on Nov. 22, 2022, 5:48 a.m.