I am editing my question in an attempt to provide greater clarity on my R problem. My problem is that semPaths() is not printing the Std.lv estimates. My code begins with lavaan code and then the semPaths statement is presented.
I provide R code:
library(lavaan)
lower <- '
.32
.42 1.35
.42 .86 1.35
1.11 2.46 2.02 17.98
1.55 3.21 3.01 11.75 19.98
.85 2.00 1.7 7.85 8.28 10.56'
jsac.cov <-
getCov(lower, names = c("js1", "js2", "js3", "ac1", "ac2", "ac3"))
jsac <- '
# latent variables
js =~ js1 + js2 + js3
ac =~ ac1 + ac2 + ac3
'
fit <- cfa(jsac,
sample.cov = jsac.cov,
sample.nobs = 200)
summary(fit, fit.measures = TRUE, standardize = TRUE)
library(semPlot)
#print the paths with the path coefficients
semPaths(fit, "model", "est", intercepts = FALSE)
The path coefficients plotted by the semPaths statment are labelled in the lavaan output as "Estimates". What I seek to plot are the estimates labelled in the lavaan output as "Std.lv"
Thanks.
"Mike" replied: set latent factor variances to 1.0 in the sem model (std.lv=TRUE). I tried
summary(fit, fit.measures = TRUE, std.lv = TRUE)
and obtained this syntax error
Error in .local(object, ...) : unused argument (std.lv = TRUE)