lavaan2xlsx | R Documentation |
Generate a xlsx file for a lavaan object
lavaan2xlsx(x, extra.matrix.f = NULL, order.matrix.f = NULL)
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 |
a openxlsx object
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.