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
When the group argument in des.print is numeric instead of a factor, then one gets the error message:
"Error in a.list[[k]] <- na.omit(a[which(group == levels(group)[k])]) :attempt to select less than one element in integerOneIndex"
Maybe we can have a more meaningful error message in this case.
The text was updated successfully, but these errors were encountered:
Wollen wir das lösen indem wir eine Fehlermeldung ausgeben, falls group kein factor ist, oder wollen wir es umwandeln? Momentan sind zwei Abfragen eingebaut, für die Fälle, dass group numeric ist und Länge 1 hat, und für den Fall dass group ein character ist. In der Dokumentation steht aber, dass group ein factor mit mindestens zwei levels sein muss, was somit nicht stimmt.
Außerdem frage ich mich, was der Punkt "If not specified, a random grouping variable with 2 groups is used." für einen Sinn hat.
Umwandeln + Warning.
Bzgl. "If not specified, a random grouping variable with 2 groups is used." weiß ich auch nicht was das soll. Vielleicht wurde früher einfach irgendein faktor mit zwei leveln aus den Daten ausgewählt als group. Glaub das können wir streichen.
When the group argument in des.print is numeric instead of a factor, then one gets the error message:
"Error in a.list[[k]] <- na.omit(a[which(group == levels(group)[k])]) :attempt to select less than one element in integerOneIndex"
Maybe we can have a more meaningful error message in this case.
The text was updated successfully, but these errors were encountered: