# Latent Variable Analysis

## Documentation for package ‘lavaan’ version 0.7-2

- DESCRIPTION file.

## Help Pages

A B C D E F G H I L M N O P R S U V W

## -- A --

anova | LRT test
anova-method | Class For Representing A (Fitted) Latent Variable Model

## -- B --

bootstrapLavaan | Bootstrapping a Lavaan Model

## -- C --

cfa | Fit Confirmatory Factor Analysis Models
cfaList | Fit List of Latent Variable Models
char2num | Utility Functions For Covariance Matrices
coef-method | Class For Representing A (Fitted) Latent Variable Model
coef-method | Class For Representing A List of (Fitted) Latent Variable Models
cor2cov | Utility Functions For Covariance Matrices

## -- D --

Demo.growth | Demo dataset for illustrating a linear growth model
Demo.twolevel | Demo dataset for illustrating a multilevel CFA

## -- E --

efa | Exploratory Factor Analysis
estfun.lavaan | Extract Empirical Estimating Functions
estimator_iv | Instrumental Variable (MIIV-2SLS) Estimation

## -- F --

fitindices | Fit Measures for a Latent Variable Model
fitMeasures | Fit Measures for a Latent Variable Model
fitmeasures | Fit Measures for a Latent Variable Model
fitMeasures-method | Fit Measures for a Latent Variable Model
fitmeasures-method | Fit Measures for a Latent Variable Model
fitted-method | Class For Representing A (Fitted) Latent Variable Model
fitted.values-method | Class For Representing A (Fitted) Latent Variable Model
fsr | Fit Structural Equation Models using the SAM approach

## -- G --

getCov | Utility Functions For Covariance Matrices
growth | Fit Growth Curve Models

## -- H --

HolzingerSwineford1939 | Holzinger and Swineford Dataset (9 Variables)

## -- I --

inspect | Inspect or extract information from a fitted lavaan object
inspectSampleCov | Observed Variable Covariance Matrix from a Model and Data
instrument | Instrumental Variable (MIIV-2SLS) Estimation
instruments | Instrumental Variable (MIIV-2SLS) Estimation
IV | Instrumental Variable (MIIV-2SLS) Estimation
iv | Instrumental Variable (MIIV-2SLS) Estimation

## -- L --

lavaan | Fit a Latent Variable Model
lavaan-class | Class For Representing A (Fitted) Latent Variable Model
lavaan-deprecated | Deprecated functions in lavaan package
lavaanify | The Lavaan Model Syntax
lavaanList | Fit List of Latent Variable Models
lavaanList-class | Class For Representing A List of (Fitted) Latent Variable Models
lavaanNames | lavaan Names
lavBootstrap | Bootstrapping a Lavaan Model
lavCor | Polychoric, polyserial and Pearson correlations
lavEffects | Indirect and Total Effects
laveffects | Indirect and Total Effects
lavExport | lavaan Export
lavImport | mplus to lavaan converter
lavInspect | Inspect or extract information from a fitted lavaan object
lavInspectSampleCov | Observed Variable Covariance Matrix from a Model and Data
lavListInspect | Inspect or extract information from a lavaanList object
lavListTech | Inspect or extract information from a lavaanList object
lavLRT | LRT test
lavLRTTest | LRT test
lavMatrixRepresentation | lavaan matrix representation
lavNames | lavaan Names
lavOptions | lavaan Options
lavoptions | lavaan Options
lavParameterEstimates | Parameter Estimates
lavParseModelString | The Lavaan Model Syntax
lavParTable | The Lavaan Model Syntax
lavPredict | Predict the values of latent variables (and their indicators)
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
lavResidual | Residuals
lavResiduals | Residuals
lavResidualsY | Compute residuals for the y-variables given the values of the x-variables
lavScores | Extract Empirical Estimating Functions
lavScoreTest | Score test
lavSimulateData | Simulate Data From a Lavaan Model Syntax
lavTables | lavaan frequency tables
lavTablesFit | Pairwise maximum likelihood fit statistics
lavTablesFitCf | Pairwise maximum likelihood fit statistics
lavTablesFitCm | Pairwise maximum likelihood fit statistics
lavTablesFitCp | Pairwise maximum likelihood fit statistics
lavTech | Inspect or extract information from a fitted lavaan object
lavTest | Test of exact fit
lavtest | Test of exact fit
lavTestLRT | LRT test
lavtestLRT | LRT test
lavTestScore | Score test
lavtestscore | Score test
lavTestWald | Wald test
lavtestwald | Wald test
lavWaldTest | Wald test
lav_char2num | Utility Functions For Covariance Matrices
lav_constraints_parse | Deprecated functions with long names
lav_con_parse | Utility Functions: Constraints
lav_cor2cov | Utility Functions For Covariance Matrices
lav_data_simulate_old | Simulate Data From a Lavaan Model Syntax
lav_data_update | lavaan data functions
lav_efalist_summary | Summarizing EFA Fits
lav_efalist_summary_print | Summarizing EFA Fits
lav_export_estimation | lav_export_estimation
lav_func_gradient_complex | Deprecated functions with long names
lav_func_gradient_simple | Deprecated functions with long names
lav_func_grad_complex | Utility Functions: Gradient and Jacobian
lav_func_grad_simple | Utility Functions: Gradient and Jacobian
lav_func_jacobian_complex | Utility Functions: Gradient and Jacobian
lav_func_jacobian_simple | Utility Functions: Gradient and Jacobian
lav_getcov | Utility Functions For Covariance Matrices
lav_label_code | Provides a formatted label for use in tikz, svg or Rplot
lav_matrix_antidiag_idx | Deprecated functions with long names
lav_matrix_bdiag | Deprecated functions with long names
lav_matrix_commutation | Deprecated functions with long names
lav_matrix_commutation_mn_pre | Deprecated functions with long names
lav_matrix_commutation_post | Deprecated functions with long names
lav_matrix_commutation_pre | Deprecated functions with long names
lav_matrix_commutation_pre_post | Deprecated functions with long names
lav_matrix_cov | Deprecated functions with long names
lav_matrix_diagh_idx | Deprecated functions with long names
lav_matrix_diag_idx | Deprecated functions with long names
lav_matrix_duplication | Deprecated functions with long names
lav_matrix_duplication_ginv | Deprecated functions with long names
lav_matrix_duplication_ginv_post | Deprecated functions with long names
lav_matrix_duplication_ginv_pre | Deprecated functions with long names
lav_matrix_duplication_ginv_pre_post | Deprecated functions with long names
lav_matrix_duplication_post | Deprecated functions with long names
lav_matrix_duplication_pre | Deprecated functions with long names
lav_matrix_duplication_pre_post | Deprecated functions with long names
lav_matrix_lower2full | Deprecated functions with long names
lav_matrix_orthogonal_complement | Deprecated functions with long names
lav_matrix_print | Deprecated functions with long names
lav_matrix_symmetric_sqrt | Deprecated functions with long names
lav_matrix_trace | Deprecated functions with long names
lav_matrix_upper2full | Deprecated functions with long names
lav_matrix_vec | Deprecated functions with long names
lav_matrix_vech | Deprecated functions with long names
lav_matrix_vechr | Deprecated functions with long names
lav_matrix_vechru | Deprecated functions with long names
lav_matrix_vechru_idx | Deprecated functions with long names
lav_matrix_vechru_reverse | Deprecated functions with long names
lav_matrix_vechr_idx | Deprecated functions with long names
lav_matrix_vechr_reverse | Deprecated functions with long names
lav_matrix_vechu | Deprecated functions with long names
lav_matrix_vechu_idx | Deprecated functions with long names
lav_matrix_vechu_reverse | Deprecated functions with long names
lav_matrix_vech_col_idx | Deprecated functions with long names
lav_matrix_vech_idx | Deprecated functions with long names
lav_matrix_vech_reverse | Deprecated functions with long names
lav_matrix_vech_row_idx | Deprecated functions with long names
lav_matrix_vecr | Deprecated functions with long names
lav_mat_antidiag_idx | Utility Functions: Matrices and Vectors
lav_mat_bdiag | Utility Functions: Matrices and Vectors
lav_mat_com | Utility Functions: Matrices and Vectors
lav_mat_com_mn_pre | Utility Functions: Matrices and Vectors
lav_mat_com_post | Utility Functions: Matrices and Vectors
lav_mat_com_pre | Utility Functions: Matrices and Vectors
lav_mat_com_pre_post | Utility Functions: Matrices and Vectors
lav_mat_cov | Utility Functions: Matrices and Vectors
lav_mat_diagh_idx | Utility Functions: Matrices and Vectors
lav_mat_diag_idx | Utility Functions: Matrices and Vectors
lav_mat_dup | Utility Functions: Matrices and Vectors
lav_mat_dup_ginv | Utility Functions: Matrices and Vectors
lav_mat_dup_ginv_post | Utility Functions: Matrices and Vectors
lav_mat_dup_ginv_pre | Utility Functions: Matrices and Vectors
lav_mat_dup_ginv_pre_post | Utility Functions: Matrices and Vectors
lav_mat_dup_post | Utility Functions: Matrices and Vectors
lav_mat_dup_pre | Utility Functions: Matrices and Vectors
lav_mat_dup_pre_post | Utility Functions: Matrices and Vectors
lav_mat_lower2full | Utility Functions: Matrices and Vectors
lav_mat_ortho_complement | Utility Functions: Matrices and Vectors
lav_mat_sym_sqrt | Utility Functions: Matrices and Vectors
lav_mat_trace | Utility Functions: Matrices and Vectors
lav_mat_upper2full | Utility Functions: Matrices and Vectors
lav_mat_vec | Utility Functions: Matrices and Vectors
lav_mat_vech | Utility Functions: Matrices and Vectors
lav_mat_vechr | Utility Functions: Matrices and Vectors
lav_mat_vechru | Utility Functions: Matrices and Vectors
lav_mat_vechru_idx | Utility Functions: Matrices and Vectors
lav_mat_vechru_rev | Utility Functions: Matrices and Vectors
lav_mat_vechr_idx | Utility Functions: Matrices and Vectors
lav_mat_vechr_rev | Utility Functions: Matrices and Vectors
lav_mat_vechu | Utility Functions: Matrices and Vectors
lav_mat_vechu_idx | Utility Functions: Matrices and Vectors
lav_mat_vechu_rev | Utility Functions: Matrices and Vectors
lav_mat_vech_col_idx | Utility Functions: Matrices and Vectors
lav_mat_vech_idx | Utility Functions: Matrices and Vectors
lav_mat_vech_rev | Utility Functions: Matrices and Vectors
lav_mat_vech_row_idx | Utility Functions: Matrices and Vectors
lav_mat_vecr | Utility Functions: Matrices and Vectors
lav_model_get_parameters | lavaan model functions
lav_model_implied | lavaan model functions
lav_model_plotinfo | Get model information
lav_model_set_parameters | lavaan model functions
lav_model_vcov_se | lavaan model functions
lav_mplus_lavaan | mplus to lavaan converter
lav_mplus_syntax_model | Convert Mplus model syntax to lavaan
lav_parse_options | The open parser configuration
lav_partable_add | Deprecated functions with long names
lav_partable_attributes | Deprecated functions with long names
lav_partable_complete | Deprecated functions with long names
lav_partable_constraints_ceq | Deprecated functions with long names
lav_partable_constraints_ciq | Deprecated functions with long names
lav_partable_constraints_def | Deprecated functions with long names
lav_partable_df | Deprecated functions with long names
lav_partable_from_lm | Deprecated functions with long names
lav_partable_independence | Deprecated functions with long names
lav_partable_labels | Deprecated functions with long names
lav_partable_merge | Deprecated functions with long names
lav_partable_ndat | Deprecated functions with long names
lav_partable_npar | Deprecated functions with long names
lav_partable_unrestricted | Deprecated functions with long names
lav_plot | Create diagram code for tikz or svg, or produce an R plot
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_pt_add | lavaan partable functions
lav_pt_attributes | lavaan partable functions
lav_pt_complete | lavaan partable functions
lav_pt_con_ceq | Utility Functions: Constraints
lav_pt_con_ciq | Utility Functions: Constraints
lav_pt_con_def | Utility Functions: Constraints
lav_pt_df | lavaan partable functions
lav_pt_from_lm | lavaan partable functions
lav_pt_independence | lavaan partable functions
lav_pt_labels | lavaan partable functions
lav_pt_merge | lavaan partable functions
lav_pt_ndat | lavaan partable functions
lav_pt_ngroups | lavaan partable functions
lav_pt_npar | lavaan partable functions
lav_pt_unrestricted | lavaan partable functions
lav_samplestats_from_data | Deprecated functions with long names
lav_samp_from_data | lavaan samplestats functions
logLik-method | Class For Representing A (Fitted) Latent Variable Model
LRT | LRT test

## -- M --

MIIV | Instrumental Variable (MIIV-2SLS) Estimation
miiv | Instrumental Variable (MIIV-2SLS) Estimation
MIIVsem | Instrumental Variable (MIIV-2SLS) Estimation
miivsem | Instrumental Variable (MIIV-2SLS) Estimation
mimic | The mimic= option
model.syntax | The Lavaan Model Syntax
modificationIndices | Modification Indices
modificationindices | Modification Indices
modindices | Modification Indices
mplus2lavaan | mplus to lavaan converter
mplus2lavaan.modelSyntax | Convert Mplus model syntax to lavaan

## -- N --

nobs | Class For Representing A (Fitted) Latent Variable Model
nobs-method | Class For Representing A (Fitted) Latent Variable Model

## -- O --

open_parser | The open parser configuration

## -- P --

parameterEstimates | Parameter Estimates
parameterestimates | Parameter Estimates
parameterTable | Parameter Table
parametertable | Parameter Table
parseModelString | The Lavaan Model Syntax
parTable | Parameter Table
partable | Parameter Table
PoliticalDemocracy | Industrialization And Political Democracy Dataset
predict-method | Class For Representing A (Fitted) Latent Variable Model

## -- R --

resid-method | Class For Representing A (Fitted) Latent Variable Model
residuals-method | Class For Representing A (Fitted) Latent Variable Model
rotation | Exploratory Factor Analysis

## -- S --

sam | Fit Structural Equation Models using the SAM approach
Sargan | Instrumental Variable (MIIV-2SLS) Estimation
sargan | Instrumental Variable (MIIV-2SLS) Estimation
Score | Score test
score | Score test
sem | Fit Structural Equation Models
semList | Fit List of Latent Variable Models
show-method | Class For Representing A (Fitted) Latent Variable Model
simulateData | Simulate Data From a Lavaan Model Syntax
standardizedSolution | Standardized Solution
standardizedsolution | Standardized Solution
summary-method | Class For Representing A (Fitted) Latent Variable Model
summary-method | Class For Representing A List of (Fitted) Latent Variable Models

## -- U --

update-method | Class For Representing A (Fitted) Latent Variable Model

## -- V --

variableTable | Variable Table
variabletable | Variable Table
varTable | Variable Table
vartable | Variable Table
vcov-method | Class For Representing A (Fitted) Latent Variable Model

## -- W --

Wald | Wald test
wald | Wald test