getTeX {fmx}R Documentation

TeX Label (of Parameter Constraint(s)) of fmx Object

Description

Create TeX label of (parameter constraint(s)) of fmx object

Usage

getTeX(dist, print_K = FALSE)

Arguments

dist

fmx object

print_K

logical scalar, whether to print the number of components K. Default FALSE.

Value

Function getTeX returns a character scalar (of TeX expression) of the constraint, primarily intended for end-users in plots.

Examples

(d0 = fmx('GH', A = c(1,4), g = c(.2,.1), h = c(.05,.1), w = c(1,1)))
getTeX(d0)

(d1 = fmx('GH', A = c(1,4), g = c(.2,0), h = c(0,.1), w = c(1,1)))
getTeX(d1)

(d2 = fmx('GH', A = c(1,4), g = c(.2,0), h = c(.15,.1), w = c(1,1)))
getTeX(d2)


[Package fmx version 0.1.2 Index]