Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausVigo committed Dec 6, 2024
1 parent dd58a51 commit f32bb21
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/baseFreq.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ print.summary.phyDat <- function(x, ...,
cat("Composition Test (Chisq) \n")
comp <- x$composition
comp <- comp[order(comp[,3]),]
ind <- max(which(comp[,3] < 0.05))
if(any(comp[,3] < 0.05)) ind <- max(which(comp[,3] < 0.05))
else ind <- min(6, x$glance$nseq)
print(comp[seq_len(ind),], digits=digits, ...)
Expand Down

0 comments on commit f32bb21

Please sign in to comment.