Learn R Programming

brt (version 1.3.0)

tpval: The P-value of a t Test Base on a t-statistic.

Description

The P-value of a t Test Base on a t-statistic.

Usage

tpval(x, df, log = FALSE)

Arguments

x

a t statistic

df

degrees of freedom

log

the probability is in log-scale

Examples

Run this code
# 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