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
because, if S.k is a matrix there, then diag() returns a vector containing the diagonal elements. Perhaps that line was supposed to read
S.k<- diag(x=diag(S.k),nrow=d)
instead? But I don't know anything about the mathematical details of this line, so my guess might be completely wrong.
And I'm not sure, but perhaps this is the same bug as in #21?
Note that this issue occurs with both, the current CRAN version 0.8.7.3 as well as with the current GitHub version at commit 7f47d53 installed via devtools::install_github("melff/mclogit",subdir="pkg").
The text was updated successfully, but these errors were encountered:
For some models fitted by
mclogit::mblogit()
, I get the errorthrown by
mclogit:::PQLMQL_innerFit()
. (The<dimension1>
can be3
, for example.)I think the problematic line is
mclogit/pkg/R/mmclogit-fitPQLMQL.R
Line 271 in 7f47d53
S.k
is a matrix there, thendiag()
returns a vector containing the diagonal elements. Perhaps that line was supposed to readinstead? But I don't know anything about the mathematical details of this line, so my guess might be completely wrong.
And I'm not sure, but perhaps this is the same bug as in #21?
Note that this issue occurs with both, the current CRAN version 0.8.7.3 as well as with the current GitHub version at commit 7f47d53 installed via
devtools::install_github("melff/mclogit",subdir="pkg")
.The text was updated successfully, but these errors were encountered: