Skip to contents

All functions

Demo.growth
Demo dataset for a illustrating a linear growth model.
Demo.twolevel
Demo dataset for a illustrating a multilevel CFA.
FacialBurns
Dataset, originally used for illustrating the InformativeTesting function.
HolzingerSwineford1939
Holzinger and Swineford Dataset (9 Variables)
PoliticalDemocracy
Industrialization And Political Democracy Dataset
lavBootstrap() bootstrapLavaan()
Bootstrapping a Lavaan Model
cfa()
Fit Confirmatory Factor Analysis Models
efa()
Exploratory Factor Analysis
fitMeasures() fitmeasures()
Fit Measures for a Latent Variable Model
lav_getcov() getCov() lav_char2num() char2num() lav_cor2cov() cor2cov()
Utility Functions For Covariance Matrices
growth()
Fit Growth Curve Models
lavInspectSampleCov() inspectSampleCov()
Observed Variable Correlation Matrix from a Model and Data
lavCor()
Polychoric, polyserial and Pearson correlations
lavInspect() lavTech() inspect()
Inspect or extract information from a fitted lavaan object
lavListInspect() lavListTech()
Inspect or extract information from a lavaanList object
lavMatrixRepresentation()
lavaan matrix representation
lavNames()
lavaan Names
lavOptions()
lavaan Options
lavPredict()
Predict the values of latent variables (and their indicators).
lavPredictY()
Predict the values of y-variables given the values of x-variables
lavPredictY_cv()
Determine an optimal lambda penalty value through cross-validation
lavResiduals()
Residuals
lavTables()
lavaan frequency tables
lavTablesFitCf() lavTablesFitCp() lavTablesFitCm()
Pairwise maximum likelihood fit statistics
lavTest()
Test of exact fit
lavTestLRT() anova()
LRT test
lavTestScore()
Score test
lavTestWald()
Wald test
lav_constraints_parse() lav_partable_constraints_ceq() lav_partable_constraints_ciq() lav_partable_constraints_def()
Utility Functions: Constraints
lav_data_update()
lavaan data functions
lavExport()
lavaan Export
lav_export_estimation()
lav_export_estimation
lav_func_gradient_complex() lav_func_jacobian_complex() lav_func_gradient_simple() lav_func_jacobian_simple()
Utility Functions: Gradient and Jacobian
lav_label_code()
Provides formatted label for use in tikz, svg or rplot
lav_matrix_vec() lav_matrix_vecr() lav_matrix_vech() lav_matrix_vechr() lav_matrix_vech_idx() lav_matrix_vech_row_idx() lav_matrix_vech_col_idx() lav_matrix_vechr_idx() lav_matrix_vechru_idx() lav_matrix_diag_idx() lav_matrix_diagh_idx() lav_matrix_antidiag_idx() lav_matrix_vech_reverse() lav_matrix_vechru_reverse() lav_matrix_upper2full() lav_matrix_vechr_reverse() lav_matrix_vechu_reverse() lav_matrix_lower2full() lav_matrix_duplication() lav_matrix_duplication_pre() lav_matrix_duplication_post() lav_matrix_duplication_pre_post() lav_matrix_duplication_ginv() lav_matrix_duplication_ginv_pre() lav_matrix_duplication_ginv_post() lav_matrix_duplication_ginv_pre_post() lav_matrix_commutation() lav_matrix_commutation_pre() lav_matrix_commutation_post() lav_matrix_commutation_pre_post() lav_matrix_commutation_mn_pre() lav_matrix_cov() lav_matrix_symmetric_sqrt() lav_matrix_orthogonal_complement() lav_matrix_bdiag() lav_matrix_trace()
Utility Functions: Matrices and Vectors
lav_model_set_parameters() lav_model_get_parameters() lav_model_implied() lav_model_vcov_se()
lavaan model functions
lav_model_plotinfo()
Get model information
lav_partable_df() lav_partable_ndat() lav_partable_npar() lav_partable_attributes() lav_partable_labels() lav_partable_independence() lav_partable_unrestricted() lav_partable_from_lm() lav_partable_complete() lav_partable_merge() lav_partable_add()
lavaan partable functions
lav_plotinfo_positions()
Position the nodes in the diagram
lav_plotinfo_rgraph()
Plots a graph in R.
lav_plotinfo_svgcode()
Creates code to show a diagram in svg format.
lav_plotinfo_tikzcode()
Creates code to show a diagram in tikz format.
lav_samplestats_from_data()
lavaan samplestats functions
estfun.lavaan() lavScores()
Extract Empirical Estimating Functions
lavaan-class coef,lavaan-method vcov,lavaan-method anova,lavaan-method predict,lavaan-method resid,lavaan-method residuals,lavaan-method fitted,lavaan-method fitted.values,lavaan-method nobs nobs,lavaan-method logLik,lavaan-method update,lavaan-method show,lavaan-method summary,lavaan-method
Class For Representing A (Fitted) Latent Variable Model
lavaan-deprecated
Deprecated functions in lavaan package
lavaan()
Fit a Latent Variable Model
lavaanList-class coef,lavaanList-method summary,lavaanList-method
Class For Representing A List of (Fitted) Latent Variable Models
lavaanList() semList() cfaList()
Fit List of Latent Variable Models
lav_plot()
Creates diagram code for tikz, svg or creates an Rplot
lavaanify() lavParTable() lavParseModelString()
The Lavaan Model Syntax
modificationIndices() modindices()
Modification Indices
lav_mplus_lavaan() mplus2lavaan()
mplus to lavaan converter
lav_mplus_syntax_model() mplus2lavaan.modelSyntax()
Convert Mplus model syntax to lavaan
parameterTable() parTable()
Parameter Table
lavParameterEstimates() parameterEstimates()
Parameter Estimates
sam()
Fit Structural Equation Models using the SAM approach
sem()
Fit Structural Equation Models
lav_data_simulate_old() lavSimulateData() simulateData()
Simulate Data From a Lavaan Model Syntax
standardizedSolution()
Standardized Solution
lav_efalist_summary() lav_efalist_summary_print()
Summarizing EFA Fits
varTable()
Variable Table