Learn R Programming

⚠️There's a newer version (1.8.1) of this package.Take me there.

lava (version 1.4.7)

Latent Variable Models

Description

Estimation and simulation of latent variable models.

Copy Link

Version

Install

install.packages('lava')

Monthly Downloads

163,136

Version

1.4.7

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus K Holst

Last Published

January 27th, 2017

Functions in lava (1.4.7)

bootstrap

Generic bootstrap method
blockdiag

Combine matrices to block diagonal structure
addvar

Add variable to (model) object
bootstrap.lvm

Calculate bootstrap estimates of a lvm object
bmd

Longitudinal Bone Mineral Density Data (Wide format)
bmidata

Data
closed.testing

Closed testing procedure
colorbar

Add color-bar to plot
Col

Generate a transparent RGB color
compare

Statistical tests
Combine

Report estimates across different models
commutation

Finds the unique commutation matrix
children

Extract children or parent elements of object
click

Identify points on plot
calcium

Longitudinal Bone Mineral Density Data
cancel

Generic cancel method
complik

Composite Likelihood for probit latent variable models
confband

Add Confidence limits bar to plot
contr

Create contrast matrix
correlation

Generic method for extracting correlation coefficients of model object
density.sim

Plot sim object
devcoords

Returns device-coordinates and plot-region
fplot

fplot
Expand

Create a Data Frame from All Combinations of Factors
indoorenv

Data
startvalues

For internal use
diagtest

Calculate diagnostic tests for 2x2 table
dsep.lvm

Check d-separation criterion
ksmooth2

Plot/estimate surface
kill

Remove variables from (model) object.
iid

Extract i.i.d. decomposition (influence function) from model object
images

Organize several image calls (for visualizing categorical data)
Missing

Missing value generator
Model

Extract model
equivalence

Identify candidates of equivalent models
eventTime

Add an observed event time outcome to a latent variable model.
getSAS

Read SAS output
getMplus

Read Mplus output
lava-package

Estimation and simulation of latent variable models
labels<-

Define labels of graph
%++%

Concatenation operator
%ni%

Matching operator (x not in y) oposed to the %in%-operator (x in y)
path

Extract pathways in model graph
pcor

Polychoric correlation
hubble

Hubble data
lava.options

Set global options for lava
hubble2

Hubble data
lvm

Initialize new latent variable model
ordreg

Univariate cumulative link regression models
org

Convert object to ascii suitable for org-mode
predict.lvm

Prediction in structural equation models
predictlvm

Predict function for latent variable models
revdiag

Create/extract 'reverse'-diagonal matrix or off-diagonal elements
Range.lvm

Define range constraints of parameters
toformula

Converts strings to formula
plot.lvm

Plot path diagram
tr

Trace operator
plotConf

Plot regression lines
sim.default

Wrapper function for mclapply
sim

Simulate model
subset.lvm

Extract subset of latent variable model
timedep

Time-dependent parameters
parpos

Generic method for finding indeces of model parameters
nldata

Example data (nonlinear model)
nsem

Example SEM data (nonlinear)
partialcor

Calculate partial correlations
serotonin

Serotonin data
serotonin2

Data
trim

Trim tring of (leading/trailing/all) white spaces
twindata

Twin menarche data
Graph

Extract graph
gof

Extract model summaries and GOF statistics for model object
makemissing

Create random missing data
PD

Dose response calculation for binomial regression models
measurement.error

Two-stage (non-linear) measurement error
pdfconvert

Convert pdf to raster format
spaghetti

Spaghetti plot
stack.estimate

Stack estimating equations
twostage

Two-stage estimator
twostage.lvmfit

Two-stage estimator (non-linear SEM)
baptize

Label elements of object
brisa

Simulated data
By

Apply a Function to a Data Frame Split by Factors
zibreg

Regression model for binomial data with unkown group of immortals
wrapvec

Wrap vector
modelsearch

Model searching
scheffe

Calculate simultaneous confidence limits by Scheffe's method
multinomial

Estimate probabilities in contingency table
semdata

Example SEM data
vars

Extract variable names from latent variable model
backdoor

Backdoor criterion
vec

vec operator