powered by
The P-value of a t Test Base on a t-statistic.
tpval(x, df, log = FALSE)
a t statistic
degrees of freedom
the probability is in log-scale
# NOT RUN { tpval(1, df=3) exp(tpval(1, df=3, log=TRUE)) tpval(Inf, df=3) tpval(0, df=3) # }
Run the code above in your browser using DataLab