lavaan2xlsx: Generate a xlsx file for a lavaan object

View source: R/lavaan2xlsx.r

lavaan2xlsxR Documentation

Generate a xlsx file for a lavaan object

Description

Generate a xlsx file for a lavaan object

Usage

lavaan2xlsx(x, extra.matrix.f = NULL, order.matrix.f = NULL)

Arguments

x

lavaan object

extra.matrix.f

extra matrix to add to x object

order.matrix.f

name of columns to which order the cor matrix

Value

a openxlsx object

Examples

## Not run: 
 library(psych)
 library(lavaan)
 data(Dwyer)
 cfa.1<-cfa("g=~V1+V2+V3+V4+V5+V6+V7+V8",sample.cov=Dwyer,sample.nobs=1000)
 lavaan2xlsx(cfa.1)
 
## End(Not run)

clbustos/rcebn documentation built on Feb. 2, 2024, 5:55 a.m.