Skip to contents

All functions

Demo.growth
Demo dataset for illustrating a linear growth model
Demo.twolevel
Demo dataset for illustrating a multilevel CFA
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
estimator_iv iv IV miiv MIIV miivsem MIIVsem instrument instruments sargan Sargan
Instrumental Variable (MIIV-2SLS) Estimation
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 Covariance Matrix from a Model and Data
lavCor()
Polychoric, polyserial and Pearson correlations
lavEffects()
Indirect and Total Effects
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
lavResidualsY()
Compute residuals for the y-variables given the values of the x-variables
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_con_parse() lav_pt_con_ceq() lav_pt_con_ciq() lav_pt_con_def()
Utility Functions: Constraints
lav_data_update()
lavaan data functions
lavExport()
lavaan Export
lav_export_estimation()
lav_export_estimation
lav_func_grad_complex() lav_func_jacobian_complex() lav_func_grad_simple() lav_func_jacobian_simple()
Utility Functions: Gradient and Jacobian
lav_label_code()
Provides a formatted label for use in tikz, svg or Rplot
lav_matrix_duplication_ginv_pre_post() lav_matrix_orthogonal_complement() lav_func_gradient_complex() lav_matrix_duplication_ginv_post() lav_func_gradient_simple() lav_matrix_vech_row_idx() lav_matrix_vech_col_idx() lav_matrix_antidiag_idx() lav_matrix_duplication_pre_post() lav_matrix_duplication_ginv_pre() lav_matrix_commutation_pre_post() lav_partable_unrestricted() lav_partable_independence() lav_matrix_vechru_idx() lav_matrix_upper2full() lav_matrix_lower2full() lav_matrix_commutation_mn_pre() lav_samplestats_from_data() lav_matrix_vechru_reverse() lav_matrix_vechr_idx() lav_matrix_vechu_idx() lav_matrix_diagh_idx() lav_partable_attributes() lav_matrix_vechr_reverse() lav_matrix_vechu_reverse() lav_matrix_vech_idx() lav_matrix_diag_idx() lav_matrix_duplication_post() lav_matrix_duplication_ginv() lav_matrix_commutation_post() lav_matrix_symmetric_sqrt() lav_matrix_vech_reverse() lav_matrix_duplication_pre() lav_matrix_commutation_pre() lav_partable_complete() lav_matrix_vechru() lav_partable_constraints_def() lav_partable_constraints_ceq() lav_partable_constraints_ciq() lav_partable_from_lm() lav_constraints_parse() lav_matrix_vechr() lav_matrix_vechu() lav_matrix_bdiag() lav_matrix_trace() lav_partable_labels() lav_matrix_vecr() lav_matrix_vech() lav_partable_merge() lav_matrix_vec() lav_matrix_duplication() lav_matrix_commutation() lav_matrix_cov() lav_partable_ndat() lav_partable_npar() lav_partable_add() lav_partable_df()
Deprecated functions with long names
lav_mat_vec() lav_mat_vecr() lav_mat_vech() lav_mat_vechr() lav_mat_vech_idx() lav_mat_vech_row_idx() lav_mat_vech_col_idx() lav_mat_vechr_idx() lav_mat_vechru_idx() lav_mat_diag_idx() lav_mat_diagh_idx() lav_mat_antidiag_idx() lav_mat_vech_rev() lav_mat_vechru_rev() lav_mat_upper2full() lav_mat_vechr_rev() lav_mat_vechu_rev() lav_mat_lower2full() lav_mat_dup() lav_mat_dup_pre() lav_mat_dup_post() lav_mat_dup_pre_post() lav_mat_dup_ginv() lav_mat_dup_ginv_pre() lav_mat_dup_ginv_post() lav_mat_dup_ginv_pre_post() lav_mat_com() lav_mat_com_pre() lav_mat_com_post() lav_mat_com_pre_post() lav_mat_com_mn_pre() lav_mat_cov() lav_mat_sym_sqrt() lav_mat_ortho_complement() lav_mat_bdiag() lav_mat_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_pt_df() lav_pt_ndat() lav_pt_npar() lav_pt_ngroups() lav_pt_attributes() lav_pt_labels() lav_pt_independence() lav_pt_unrestricted() lav_pt_from_lm() lav_pt_complete() lav_pt_merge() lav_pt_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_samp_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()
Create diagram code for tikz or svg, or produce an R plot
mimic
The mimic= option
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
lav_parse_options()
The open parser configuration
parameterTable() parTable()
Parameter Table
lavParameterEstimates() parameterEstimates()
Parameter Estimates
sam()
Fit Structural Equation Models using the SAM approach
sem()
Fit Structural Equation Models
lavSimulateData() simulateData() lav_data_simulate_old()
Simulate Data From a Lavaan Model Syntax
standardizedSolution()
Standardized Solution
lav_efalist_summary() lav_efalist_summary_print()
Summarizing EFA Fits
varTable()
Variable Table