umx (version 4.0.0)

umxJiggle: umxJiggle

Description

umxJiggle takes values in a matrix and jiggles them

Usage

umxJiggle(matrixIn, mean = 0, sd = 0.1, dontTouch = 0)

Arguments

matrixIn

an mxMatrix() to jiggle the values of

mean

the mean value to add to each value

sd

the sd of the jiggle noise

dontTouch

A value, which, if found, will be left as-is (defaults to 0)

Value

References

See Also

Other Advanced Model Building Functions: umxLabel(), umxThresholdMatrix(), umxValues(), umx

Examples

Run this code
# NOT RUN {
mat1 = umxJiggle(mat1)
# }

Run the code above in your browser using DataLab