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
accuracy.plot(accuKF, pop = c("all", "1", "2"))+
annotate("segment",x=0.4,xend=3.6,y=0.33,yend=0.33,colour="red",size=1)
membership.plot(dir = results1, style = 2)
I get the error:
Error: Faceting variables must have at least one value
Which led me to the facet_grid() argument in ggplot.
Style = 1 or Style=3 work fine
The problem appears with both style =2 and =4, I suspect that ndf$origin.pop might be empty for some reason, but I'm not confident enough with how functions work to try anything else, sorry.
Deane.
R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
assignPOP_1.1.7
The text was updated successfully, but these errors were encountered:
Yea, that's the first thing I would try. Somehow the codes were not able to manage integers as population name. Will try to fix the bug in the future version. Thank you for your report.
Hi I'm getting an error when trying to produce a membership plot. Using the following code:
results1 <- file.path(outdir, paste0(analysis_name,"_Assign_kfold//"))
accuKF <- accuracy.kfold(dir = results1)
membership.plot(dir = results1, style = 2)
I get the error:
Error: Faceting variables must have at least one value
Which led me to the facet_grid() argument in ggplot.
Style = 1 or Style=3 work fine
The problem appears with both style =2 and =4, I suspect that ndf$origin.pop might be empty for some reason, but I'm not confident enough with how functions work to try anything else, sorry.
Deane.
R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
assignPOP_1.1.7
The text was updated successfully, but these errors were encountered: