Learn R Programming

fmx (version 0.1.2)

getTeX: 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)

Value

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

Arguments

dist

fmx object

print_K

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

Examples

Run this code
(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)

Run the code above in your browser using DataLab