- u
Argument of the CDF. Result will be Pr( P_i <= u )
- effect.size
The effect size (mean over standard deviation) for test statistics
having non-zero means. Assumed to be a constant (in magnitude) over
non-zero mean test statistics.
- n.sample
The number of experimental replicates.
- r.1
The proportion of all test statistics that are distributed under HA.
- groups
The number of experimental groups to compare. Default value is 2.
- type
A character string specifying, in the groups=2 case, whether the
test is 'paired', 'balanced', or 'unbalanced' and in the case when
groups >=3, whether the test is 'balanced' or 'unbalanced'. The
default in all cases is 'balanced'. Left unspecified in the one
sample (groups=1) case.
- grpj.per.grp1
Required when type
="unbalanced", specifies the group 0 to
group 1 ratio in the two group case, and in the case of 3 or more
groups, the group j to group 1 ratio, where group 1 is the group
with the largest effect under the alternative hypothesis.
- distopt
Test statistic distribution in among null and
alternatively distributed sub-populations.
distopt=0 gives normal (2 groups), distop=1 gives t- (2 groups)
and distopt=2 gives F- (2+ groups)
- control
Optionally, a list with components with the following components:
'groups', used when distop=3 (F-dist), specifying number of groups.
'tol' is a convergence criterion used in iterative methods
which is set to 1e-8 by default
'max.iter' is an iteration limit, set to 1000 by default