Skip to contents

lavaan wrapper

cfa()
Fit Confirmatory Factor Analysis Models

Original functions

fit_plFA()
Fit factor models for ordinal data with pairwise likelihood methods
getPar()
Extract parameters
computeVar(<PlFaFit>)
Compute variance of the estimates
computeVar()
Compute variance of the estimates
compute_frequencies()
Compute pairwise frequencies
show(<PlFaFit>)
Show method for the output of fit_plFA()

Generating data

sim_data()
Simulate new data
Convergence-class
List of convergence diagnostics
gen_loadings()
Construct loading matrix

Utilities

build_constrMat()
Automatic construction of simple constraints matrices
getPar(<PlFaFit>)
Extract parameters
getPar(<vector>)
Extract parameters
getPar()
Extract parameters
get_R()
Extract latent correlation matrix from unconstrained parameter vector
get_S()
Extract latent covariance matrix from unconstrained parameter vector
get_corr()
Extract vector of latent correlations from unconstrained parameter vector
get_lambda()
Extract free loadings from parameter vector
get_theta()
Get full parameter vector
estimate_H()
Estimate of H
estimate_J()
Estimate of J
extract_par()
Extract parameters
pairs_freq()
Compute pairwise frequencies

C++ exports

cpp_DH()
Estimate Diagonal of H
cpp_multiThread_completePairwise()
Full pairwise iteration
cpp_multiThread_completePairwise2()
Full pairwise iteration

Data sets

LSAT
The Law School Admission Test (LSAT), Section VI
bfi
25 Personality items representing 5 factors

S4 classes

Constraints-class
list with constraints
Convergence-class
List of convergence diagnostics
Dimensions-class
List collecting problem dimensions
StoFit-class
Quantities specific for stochastic estimation
plFAlavaan-class
plFAlavaan Class