Learn R Programming

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

lava (version 1.4.1)

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.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus Holst

Last Published

June 21st, 2015

Functions in lava (1.4.1)

addvar

Add variable to (model) object
closed.testing

Closed testing procedure
missingdata

Missing data example
estimate.lvm

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

Organize several image calls (for visualizing categorical data)
bmidata

Data
correlation

Generic method for extracting correlation coefficients of model object
Model

Extract model
brisa

Simulated data
startvalues

For internal use
PD

Dose response calculation for binomial regression models
baptize

Label elements of object
Col

Generate a transparent RGB color
children

Extract children or parent elements of object
By

Apply a Function to a Data Frame Split by Factors
colorbar

Add color-bar to plot
measurement.error

Two-stage (non-linear) measurement error
vars

Extract variable names from latent variable model
devcoords

Returns device-coordinates and plot-region
path

Extract pathways in model graph
ksmooth2

Plot/estimate surface
Range.lvm

Define range constraints of parameters
calcium

Longitudinal Bone Mineral Density Data
iid

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

Regression model for binomial data with unkown group of immortals
hubble2

Hubble data
dsort

Sort data frame
makemissing

Create random missing data
spaghetti

Spaghetti plot
confint.lvmfit

Calculate confidence limits for parameters
bootstrap.lvm

Calculate bootstrap estimates of a lvm object
parpos

Generic method for finding indeces of model parameters
scheffe

Calculate simultaneous confidence limits by Scheffe's method
%++%

Concatenation operator
plot.lvm

Plot path diagram
ordreg

Univariate cumulative link regression models
lvm

Initialize new latent variable model
equivalence

Identify candidates of equivalent models
partialcor

Calculate partial correlations
pdfconvert

Convert pdf to raster format
Combine

Report estimates across different models
compare

Statistical tests Performs Likelihood-ratio, Wald and score tests
serotonin2

Data
predict.lvm

Prediction in structural equation models
estimate.default

Estimation of functional of parameters
blockdiag

Combine matrices to block diagonal structure
constrain<-

Add non-linear constraints to latent variable model
trim

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

Example data (nonlinear model)
lava-package

Estimation and simulation of latent variable models
semdata

Example SEM data
lava.options

Set global options for lava
eventTime

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

Model searching
regression<-

Add regression association to latent variable model
twindata

Twin menarche data
nsem

Example SEM data (nonlinear)
sim

Simulate model
kill

Remove variables from (model) object.
Graph

Extract graph
revdiag

Create/extract 'reverse'-diagonal matrix
Missing

Missing value generator
covariance

Add covariance structure to Latent Variable Model
bmd

Longitudinal Bone Mineral Density Data (Wide format)
diagtest

Calculate diagnostic tests for 2x2 table
indoorenv

Data
getSAS

Read SAS output
stack.estimate

Stack estimating equations
%ni%

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

Plot regression lines
gof

Extract model summaries and GOF statistics for model object
getMplus

Read Mplus output
subset.lvm

Extract subset of latent variable model
cancel

Generic cancel method
multinomial

Estimate probabilities in contingency table
fplot

fplot Faster plot via RGL Faster plot via RGL
confband

Add Confidence limits bar to plot
org

Convert object to ascii suitable for org-mode
serotonin

Serotonin data
timedep

Time-dependent parameters
tr

Trace operator
click

Identify points on plot
hubble

Hubble data
intercept

Fix mean parameters in 'lvm'-object
labels<-

Define labels of graph
Expand

Create a Data Frame from All Combinations of Factors
bootstrap

Generic bootstrap method
toformula

Converts strings to formula