View source: R/misc_functions.R
calc_p_val | R Documentation |
Computes the p-value based on a given T-statistic, degrees of freedom, and hypothesis direction.
calc_p_val(t, df, alternative = "two.sided")
t |
Numeric. The T-statistic value. |
df |
Numeric. Degrees of freedom for the t-distribution. |
alternative |
Character. The alternative hypothesis. One of |
Numeric. The p-value for the specified hypothesis test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.