Learn R Programming

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

lava (version 1.4.2)

Latent Variable Models

Description

Estimation and simulation of latent variable models.

Copy Link

Version

Install

install.packages('lava')

Monthly Downloads

151,632

Version

1.4.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus K Holst

Last Published

April 5th, 2016

Functions in lava (1.4.2)

closed.testing

Closed testing procedure
kill

Remove variables from (model) object.
PD

Dose response calculation for binomial regression models
covariance

Add covariance structure to Latent Variable Model
bmidata

Data
blockdiag

Combine matrices to block diagonal structure
baptize

Label elements of object
pcor

Polychoric correlation
Combine

Report estimates across different models
colorbar

Add color-bar to plot
commutation

Finds the unique commutation matrix
gof

Extract model summaries and GOF statistics for model object
By

Apply a Function to a Data Frame Split by Factors
multinomial

Estimate probabilities in contingency table
indoorenv

Data
brisa

Simulated data
getSAS

Read SAS output
equivalence

Identify candidates of equivalent models
vars

Extract variable names from latent variable model
startvalues

For internal use
labels<-

Define labels of graph
ksmooth2

Plot/estimate surface
lava.options

Set global options for lava
devcoords

Returns device-coordinates and plot-region
sim

Simulate model
sim.default

Wrapper function for mclapply
estimate.lvm

Estimation of parameters in a Latent Variable Model (lvm)
missingdata

Missing data example
intercept

Fix mean parameters in 'lvm'-object
children

Extract children or parent elements of object
compare

Statistical tests
diagtest

Calculate diagnostic tests for 2x2 table
modelsearch

Model searching
plotConf

Plot regression lines
constrain<-

Add non-linear constraints to latent variable model
density.sim

Plot sim object
path

Extract pathways in model graph
subset.lvm

Extract subset of latent variable model
scheffe

Calculate simultaneous confidence limits by Scheffe's method
Model

Extract model
confint.lvmfit

Calculate confidence limits for parameters
Range.lvm

Define range constraints of parameters
click

Identify points on plot
Col

Generate a transparent RGB color
timedep

Time-dependent parameters
Graph

Extract graph
eventTime

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

fplot
bmd

Longitudinal Bone Mineral Density Data (Wide format)
spaghetti

Spaghetti plot
hubble2

Hubble data
revdiag

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

Read Mplus output
semdata

Example SEM data
nsem

Example SEM data (nonlinear)
addvar

Add variable to (model) object
trim

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

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

Plot path diagram
dsort

Sort data frame
estimate.default

Estimation of functional of parameters
correlation

Generic method for extracting correlation coefficients of model object
bootstrap.lvm

Calculate bootstrap estimates of a lvm object
Expand

Create a Data Frame from All Combinations of Factors
wrapvec

Wrap vector
bootstrap

Generic bootstrap method
%ni%

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

Example data (nonlinear model)
stack.estimate

Stack estimating equations
serotonin2

Data
makemissing

Create random missing data
lava-package

Estimation and simulation of latent variable models
tr

Trace operator
parpos

Generic method for finding indeces of model parameters
regression<-

Add regression association to latent variable model
lvm

Initialize new latent variable model
ordreg

Univariate cumulative link regression models
measurement.error

Two-stage (non-linear) measurement error
partialcor

Calculate partial correlations
%++%

Concatenation operator
zibreg

Regression model for binomial data with unkown group of immortals
calcium

Longitudinal Bone Mineral Density Data
cancel

Generic cancel method
twindata

Twin menarche data
hubble

Hubble data
confband

Add Confidence limits bar to plot
images

Organize several image calls (for visualizing categorical data)
Missing

Missing value generator
serotonin

Serotonin data
toformula

Converts strings to formula
predict.lvm

Prediction in structural equation models
vec

vec operator
iid

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

Convert pdf to raster format