R/stat_tests.R
calc_pval.Rd
Calculate p-value
calc_pval(x, df, tails = 2)
Vector/matrix of t-stats
Degrees of freedom.
1 or 2 for one- or two-tailed p-value.
Matt Craddock, matt@mattcraddock.com