out_pval {RRI} | R Documentation |
Calculates p-value or test decision
Description
Depending on ret_pval
this function returns either a p-value for the test or the binary decision.
Usage
out_pval(rtest_out, ret_pval, alpha)
Arguments
rtest_out |
A |
ret_pval |
A |
alpha |
Desired test level (from 0 to 1). |
Details
Returns 1 if the test rejects, 0 otherwise.
Value
Binary decision if ret_pval
is TRUE, or the p-value otherwise.
[Package RRI version 1.1 Index]