stat_mean_pval {tern} | R Documentation |
p-Value of the mean
Description
Convenient function for calculating the two-sided p-value of the mean.
Usage
stat_mean_pval(x, na.rm = TRUE, n_min = 2, test_mean = 0)
Arguments
x |
( |
na.rm |
( |
n_min |
( |
test_mean |
( |
Value
A p-value.
Examples
stat_mean_pval(sample(10))
stat_mean_pval(rnorm(10), test_mean = 0.5)
[Package tern version 0.9.5 Index]