I am trying to perform a dominance analysis (calc.yhat
) with the package yhat
.
calc.yhat(lm.out, prec=3)
Error in ds[, i + 1] <- dataMatrix[, ivlist[i]] : incorrect number of subscripts on matrix
lm.out
is defined as
Call:
lm(formula = oWE ~ T1DF + T1DC + FA + PI + JC, data = Final_Dataset_mplus)
> Coefficients:
(Intercept) T1DF T1DC FA
2.52380 0.12704 0.15321 0.04018
PI JC
0.08618 -0.00488