Learn R Programming

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

lava (version 1.4.5)

Latent Variable Models

Description

Estimation and simulation of latent variable models.

Copy Link

Version

Install

install.packages('lava')

Monthly Downloads

164,778

Version

1.4.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus K Holst

Last Published

October 26th, 2016

Functions in lava (1.4.5)

bootstrap.lvm

Calculate bootstrap estimates of a lvm object
By

Apply a Function to a Data Frame Split by Factors
baptize

Label elements of object
commutation

Finds the unique commutation matrix
calcium

Longitudinal Bone Mineral Density Data
colorbar

Add color-bar to plot
cancel

Generic cancel method
children

Extract children or parent elements of object
click

Identify points on plot
compare

Statistical tests
Combine

Report estimates across different models
closed.testing

Closed testing procedure
Col

Generate a transparent RGB color
dsep.lvm

Check d-separation criterion
correlation

Generic method for extracting correlation coefficients of model object
devcoords

Returns device-coordinates and plot-region
contr

Create contrast matrix
complik

Composite Likelihood for probit latent variable models
confband

Add Confidence limits bar to plot
dsort

Sort data frame
equivalence

Identify candidates of equivalent models
density.sim

Plot sim object
fplot

fplot
diagtest

Calculate diagnostic tests for 2x2 table
hubble

Hubble data
getMplus

Read Mplus output
Graph

Extract graph
Expand

Create a Data Frame from All Combinations of Factors
eventTime

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

Read SAS output
gof

Extract model summaries and GOF statistics for model object
hubble2

Hubble data
iid

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

For internal use
lava-package

Estimation and simulation of latent variable models
kill

Remove variables from (model) object.
nsem

Example SEM data (nonlinear)
lava.options

Set global options for lava
ksmooth2

Plot/estimate surface
%++%

Concatenation operator
labels<-

Define labels of graph
images

Organize several image calls (for visualizing categorical data)
indoorenv

Data
ordreg

Univariate cumulative link regression models
pdfconvert

Convert pdf to raster format
%ni%

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

Data
plot.lvm

Plot path diagram
pcor

Polychoric correlation
sim.default

Wrapper function for mclapply
PD

Dose response calculation for binomial regression models
vec

vec operator
vars

Extract variable names from latent variable model
modelsearch

Model searching
Model

Extract model
partialcor

Calculate partial correlations
path

Extract pathways in model graph
scheffe

Calculate simultaneous confidence limits by Scheffe's method
revdiag

Create/extract 'reverse'-diagonal matrix or off-diagonal elements
tr

Trace operator
trim

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

Generic bootstrap method
backdoor

Backdoor criterion
measurement.error

Two-stage (non-linear) measurement error
addvar

Add variable to (model) object
Missing

Missing value generator
predict.lvm

Prediction in structural equation models
plotConf

Plot regression lines
semdata

Example SEM data
serotonin

Serotonin data
brisa

Simulated data
lvm

Initialize new latent variable model
makemissing

Create random missing data
multinomial

Estimate probabilities in contingency table
nldata

Example data (nonlinear model)
org

Convert object to ascii suitable for org-mode
parpos

Generic method for finding indeces of model parameters
Range.lvm

Define range constraints of parameters
predictlvm

Predict function for latent variable models
twindata

Twin menarche data
blockdiag

Combine matrices to block diagonal structure
timedep

Time-dependent parameters
toformula

Converts strings to formula
bmidata

Data
bmd

Longitudinal Bone Mineral Density Data (Wide format)
sim

Simulate model
spaghetti

Spaghetti plot
stack.estimate

Stack estimating equations
subset.lvm

Extract subset of latent variable model
wrapvec

Wrap vector
twostage

Two-stage estimator (non-linear SEM)
zibreg

Regression model for binomial data with unkown group of immortals