| checkAndReturnNPlan | R Documentation |
Check consistency between nPlan and the testType for one and two-sample z and t-tests
checkAndReturnNPlan(
nPlan,
ratio = 1,
testType = c("oneSample", "paired", "twoSample")
)
nPlan |
optional numeric vector of length at most 2, see scenario 2 and 3 above. |
ratio |
numeric > 0 representing the randomisation ratio of condition 2 over condition 1. If testType is not equal to "twoSample", or if nPlan is of length(1) then ratio=1. |
testType |
either one of "oneSample", "paired", "twoSample". |
nPlan a vector of sample sizes of length 1 or 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.