Open apoppick opened 4 months ago
print.carlperm rounds the p-value to 5 digits, which can result in rounding down to zero if using a larger value of permutations and p < 0.000005. Perhaps replace with formatC(attr(x, "pval"), digits = 5)?
Thanks for finding that. I had just ported over the old code with some new organization. I can make that change.
print.carlperm rounds the p-value to 5 digits, which can result in rounding down to zero if using a larger value of permutations and p < 0.000005. Perhaps replace with formatC(attr(x, "pval"), digits = 5)?