Item stability possible bug
Closed this issue · 6 comments
Hi, Hudson and Alex! Happy Holidays!
Item Stability Analysis
Organizing data...done
Computing results...
An error has occurred in the 'itemStability.loadings' function of 'itemStability':
Error in comm.str[names(minimum_value), as.character(i)] :
subscript out of bounds
Please open a new issue on GitHub (bug report): https://github.com/hfgolino/EGAnet/issues/new/choose
Be sure to provide the following information:
To Reproduce:
• Function error occurred in: itemStability.loadings function of itemStability
R and EGAnet versions:
• R version: 4.2.2
• EGAnet version: 1.2.4
Operating System:
• OS: Windows
• Version: 10 x64 build 19044
Code that produced the error:
working2<-subset(working,select=-c(MMM19,MMM34,MMM20_35,MMM1,MMM3,MMM22,MMM2,
MMM5,MMM31,MMM4))
boot.MMM <- bootEGA(data = working2, iter = 400, plot.type = "GGally",
EGA.type = "riEGA",
algorithm = "louvain",
consensus.method = "lowest_tefi",
type = "parametric", ncores = 2)
itemStability(boot.MMM)
I had run essentially the same code quite a few time just immediately with no problems
Sorry, just seeing this was already reported. I did update with the latest GitHub version and still got the bug. Please feel free to close or add to previous report.
@paperbag2449 (Gary, right?),
I hope you've had a pleasant holiday.
Would you mind attaching the data that's having the issue either to this thread or via email to: alexpaulchristensen@gmail.com?
Thanks, Gary (@paperbag2449)!
The patch was just pushed to GitHub. row.names
were not defined within net.loads
for unidimensional structures.
Should be fixed now -- I got results with your data file without error.
Feel free to close the issue if it's fixed!
[added duplicate tag for #104 which went unsolved without data]
Awesome! Thanks, Gary!