Skip to content

Commit

Permalink
correctly pass unbalanced param to HSD.test #62
Browse files Browse the repository at this point in the history
  • Loading branch information
grlloyd committed Jul 26, 2021
1 parent 448e85d commit 4c1e8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/HSD_class.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ setMethod(f="model_apply",

# for each combination of factors...
out2=lapply(FF,function(x) {
A=agricolae::HSD.test(LM,x,group = FALSE)$comparison
A=agricolae::HSD.test(LM,x,group = FALSE,unbalanced=M$unbalanced)$comparison
if (ALIAS) {
A[!is.na(A)]=NA # replace with NA if alias are present
}
Expand Down

0 comments on commit 4c1e8a8

Please sign in to comment.