Learn R Programming

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

lavaan (version 0.5-23.1086)

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

92,801

Version

0.5-23.1086

License

GPL (>= 2)

Maintainer

Yves Rosseel

Last Published

September 21st, 2025

Functions in lavaan (0.5-23.1086)

FacialBurns

Dataset for illustrating the InformativeTesting function.
fitMeasures

Fit Measures for a Latent Variable Model
cfa

Fit Confirmatory Factor Analysis Models
bootstrapLavaan

Bootstrapping a Lavaan Model
fsr

Factor Score Regression
estfun

Extract Empirical Estimating Functions
growth

Fit Growth Curve Models
HolzingerSwineford1939

Holzinger and Swineford Dataset (9 Variables)
inspectSampleCov

Observed Variable Correlation Matrix from a Model and Data
InformativeTesting

Testing order/inequality Constrained Hypotheses in SEM
lav_func

Utility Functions: Gradient and Jacobian
lav_partable

lavaan partable functions
lavaan-class

Class For Representing A (Fitted) Latent Variable Model
lav_constraints

Utility Functions: Constraints
lavaan-deprecated

Deprecated Functions in the lavaan package
lav_matrix

Utility Functions: Matrices and Vectors
lavaan

Fit a Latent Variable Model
lav_model

lavaan model functions
lavaanList-class

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

Fit List of Latent Variable Models
lavNames

lavaan Names
lavInspect

Inspect or extract information from a fitted lavaan object
lavListInspect

Inspect or extract information from a lavaanList object
lavOptions

lavaan Options
lavMatrixRepresentation

lavaan matrix representation
lavExport

lavaan Export
parTable

Parameter Table
lavCor

Polychoric, polyserial and Pearson correlations
lavTestWald

Wald test
model.syntax

The Lavaan Model Syntax
lavTestLRT

LRT test
lavTestScore

Score test
mplus2lavaan.modelSyntax

Convert Mplus model syntax to lavaan
parameterEstimates

Parameter Estimates
modificationIndices

Modification Indices
mplus2lavaan

mplus to lavaan converter
lavPredict

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

lavaan frequency tables
standardizedSolution

Standardized Solution
varTable

Variable Table
InformativeTesting methods

Methods for output InformativeTesting()
PoliticalDemocracy

Industrialization And Political Democracy Dataset
simulateData

Simulate Data From a Lavaan Model Syntax
sem

Fit Structural Equation Models
Demo.growth

Demo dataset for a illustrating a linear growth model.
getCov

Utility Functions For Covariance Matrices