Learn R Programming

umx (version 1.9.1)

umxMatrix: umxMatrix: labeled mxMatrix, with name in the first place

Description

umxMatrix is a wrapper for mxMatrix which labels cells buy default, and has the name parameter first in order.

Usage

umxMatrix(name = NA, type = "Full", nrow = NA, ncol = NA,
  free = FALSE, values = NA, labels = TRUE, lbound = NA, ubound = NA,
  byrow = getOption("mxByrow"), dimnames = NA,
  condenseSlots = getOption("mxCondenseMatrixSlots"), ...,
  joinKey = as.character(NA), joinModel = as.character(NA), jiggle = NA)

Arguments

name

The name of the matrix (Default = NA). Note the different order compared to mxMatrix!

type

The type of the matrix (Default = "Full")

nrow

Number of rows in the matrix: Must be set

ncol

Number of columns in the matrix: Must be set

free

Whether cells are free (Default FALSE)

values

The values of the matrix (Default NA)

labels

Either whether to label the matrix (default TRUE), OR a vector of labels to apply.

lbound

Lower bounds on cells (Defaults to NA)

ubound

Upper bounds on cells (Defaults to NA)

byrow

Whether to fill the matrix down columns or across rows first (Default = getOption('mxByrow')

dimnames

NA

condenseSlots

Whether to save memory by NULLing out unused matrix elements, like labels, ubounds etc. Default = getOption('mxCondenseMatrixSlots')

...

Additional parameters (!! not currently supported by umxMatrix)

joinKey

See mxMatrix documentation: Defaults to as.character(NA)

joinModel

See mxMatrix documentation: Defaults to as.character(NA)

jiggle

= NA passed to umxLabel to jiggle start values (default does nothing)

Value

- mxMatrix

References

- https://github.com/tbates/umx, https://tbates.github.io

See Also

- umxLabel

Other Core Modelling Functions: plot.MxModel, umxDiagnose, umxLatent, umxPath, umxRAM, umxReduceACE, umxReduceGxE, umxRun, umxSuperModel, umx

Examples

Run this code
# NOT RUN {
umxMatrix("test", "Full", 1, 1)
# }

Run the code above in your browser using DataLab