Learn R Programming

umx (version 1.9.1)

xmuMakeThresholdsMatrices: xmuMakeThresholdsMatrices (not a user function)

Description

You should not be calling this directly. This is not as reliable a strategy and likely to be superseded...

Usage

xmuMakeThresholdsMatrices(df, droplevels = FALSE, verbose = FALSE)

Arguments

df

a data.frame containing the data for your mxData statement

droplevels

a binary asking if empty levels should be dropped (defaults to FALSE)

verbose

how much feedback to give (defaults to FALSE)

Value

- a list containing an mxMatrix called "thresh", an mxRAMObjective object, and an mxData object

References

- http://tbates.github.io

Examples

Run this code
# NOT RUN {
# x = mtcars
# x$cyl = mxFactor(x$cyl, levels = c(4,6,8))
# umx:::xmuMakeThresholdsMatrices(df = x, droplevels=FALSE, verbose= TRUE)
# }

Run the code above in your browser using DataLab