You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In get_weights_nonmetric() [as of 30aaec0], the computation of inner weights seems to fail when using the factorial scheme. I have pasted an example code at the end for you to reproduce the error.
Straight to the point, the reason is that the label for factorial is wrong in get_weights_nonmetric().
# =============================================================
# updating inner weights
# =============================================================
E <- switch(specs$scheme,
"centroid" = sign(cor(Y) * link),"factor" = cov(Y) * link,"path" = get_path_scheme(path_matrix, Y))
# internal estimation of LVs 'Z'
Z = Y %*% E
Here, switch is used to choose between the 3 possible schemes, expect it searches for factor rather than factorial.
Hi Gaston,
In
get_weights_nonmetric()
[as of 30aaec0], the computation of inner weights seems to fail when using the factorial scheme. I have pasted an example code at the end for you to reproduce the error.Straight to the point, the reason is that the label for factorial is wrong in
get_weights_nonmetric()
.Here,
switch
is used to choose between the 3 possible schemes, expect it searches forfactor
rather thanfactorial
.The corrected line should thus be:
And here is an example code:
which gives 'Error during wrapup: requires numeric/complex matrix/vector arguments'
Cheers,
G
The text was updated successfully, but these errors were encountered: