Learn R Programming

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

lavaan (version 0.6-1.1214)

Latent Variable Analysis

Description

Fit a variety of latent variable models, including confirmatory factor analysis, structural equation modeling and latent growth curve models.

Copy Link

Version

Install

install.packages('lavaan')

Monthly Downloads

86,050

Version

0.6-1.1214

License

GPL (>= 2)

Maintainer

Yves Rosseel

Last Published

September 21st, 2025

Functions in lavaan (0.6-1.1214)

lavTablesFitCp

Pairwise maximum likelihood fit statistics
lavListInspect

Inspect or extract information from a lavaanList object
lav_constraints

Utility Functions: Constraints
lavTestScore

Score test
modificationIndices

Modification Indices
lavaanList-class

Class For Representing A List of (Fitted) Latent Variable Models
lavaanList

Fit List of Latent Variable Models
lav_model

lavaan model functions
parameterEstimates

Parameter Estimates
lavTestWald

Wald test
InformativeTesting methods

Methods for output InformativeTesting()
lavPredict

Predict the values of latent variables (and their indicators).
lav_func

Utility Functions: Gradient and Jacobian
lavTables

lavaan frequency tables
lav_partable

lavaan partable functions
mplus2lavaan

mplus to lavaan converter
standardizedSolution

Standardized Solution
model.syntax

The Lavaan Model Syntax
lav_matrix

Utility Functions: Matrices and Vectors
varTable

Variable Table
lavaan-class

Class For Representing A (Fitted) Latent Variable Model
lavTestLRT

LRT test
lavaan-deprecated

Deprecated Functions in the lavaan package
sem

Fit Structural Equation Models
lavaan

Fit a Latent Variable Model
mplus2lavaan.modelSyntax

Convert Mplus model syntax to lavaan
simulateData

Simulate Data From a Lavaan Model Syntax
Demo.growth

Demo dataset for a illustrating a linear growth model.
getCov

Utility Functions For Covariance Matrices
HolzingerSwineford1939

Holzinger and Swineford Dataset (9 Variables)
fitMeasures

Fit Measures for a Latent Variable Model
PoliticalDemocracy

Industrialization And Political Democracy Dataset
FacialBurns

Dataset for illustrating the InformativeTesting function.
cfa

Fit Confirmatory Factor Analysis Models
estfun

Extract Empirical Estimating Functions
InformativeTesting

Testing order/inequality Constrained Hypotheses in SEM
bootstrapLavaan

Bootstrapping a Lavaan Model
parTable

Parameter Table
lavNames

lavaan Names
inspectSampleCov

Observed Variable Correlation Matrix from a Model and Data
lavExport

lavaan Export
lavMatrixRepresentation

lavaan matrix representation
lavCor

Polychoric, polyserial and Pearson correlations
lavOptions

lavaan Options
growth

Fit Growth Curve Models
lavInspect

Inspect or extract information from a fitted lavaan object