View source: R/functions_stats.R
out_pval | R Documentation |
Depending on ret_pval
this function returns either a p-value for the test or the binary decision.
out_pval(rtest_out, ret_pval, alpha, tol = 1e-14)
rtest_out |
A |
ret_pval |
A |
alpha |
Desired test level (from 0 to 1). |
tol |
tolerance level for equality between |
Returns 1 if the test rejects, 0 otherwise. Note that the test is a two-sided one.
Binary decision if ret_pval
is TRUE, or the p-value otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.