No picture attached, and you don't tell us what your trouble is, but your
model has -4 df, so it's incorrectly specified.
Take out these lines:
congressmanAttitudes ~~ congressmenPerceptConstiuentAttitudes
congressmenPerceptConstiuentAttitudes ~~ constiuentAttitudes
rollCallBehav ~~ congressmenPe
R Community -
I'm trying to build the model in the image below, but having troubles
correctly specifying the syntax:
library(lavaan)
library(semPlot)
lower <- matrix(c(1, 0, 0, 0, .475, 1, 0, 0, .738, .643, 1, 0, .608, .721,
.823, 1), 4, 4, byrow = TRUE)
colnames(lower) <- rownames(lower) <-
2 matches
Mail list logo