[R] Class htest with non-numeric p-values

JiHO jo.lists at gmail.com
Wed Apr 20 18:21:26 CEST 2011

Hi everyone,

For some tests, tables of critical values are readily available while
the algorithm to compute those critical values is not. In such cases,
only a range for the p-value can be evaluated (e.g. 0.05 < p < 0.1)
from the table of critical values and the statistic.

Is there anyway to include that in an object of class "htest"? I see
in print.htest() that the p.value element goes through format.pval()
which expect a numeric argument. Is there any workaround?

Thank you in advance. Sincerely,


More information about the R-help mailing list