R/misc.R
pvalue.Rd
Function to compute p-value based on a t-statistic.
pvalue(t, df = Inf, alternative = c("two.sided", "less", "greater"))
t-statistic.
degree of freedoms.
type of alternatives.
pvalue(1.96, alternative = "greater") #> [1] 0.0249979