- object
A power4test object,
or a power4test_by_es object.
If it is a power4test_by_es object,
the first element, which is a
power4test object, will be used
as the value of this argument.
- pop_es_name
The name of the
parameter. See the help page
of ptable_pop() on the names for
the argument pop_es.
- pop_es_values
A numeric
vector of the population values
of the parameter specified in
pop_es_names.
- progress
Logical. Whether
progress of the simulation will be
displayed.
- ...
For power4test_by_es(),
they are arguments to be passed
to power4test(). For c.power4test_by_es(),
they are power4test_by_es() outputs
to be combined together.
For the print method of the output
of power4test_by_es(), they are
arguments to be passed to the
print method of the output of
power4test() (print.power4test()).
- by_seed
If set to a number,
it will be used to generate the
seeds for each call to power4test().
If NULL, the default, then seeds
will still be randomly generated but
the results cannot be easily reproduced.
- by_nrep
If set to a number,
it will be used to generate the
number of replications (nrep) for
each call to power4test().
If set to a numeric vector of the
same length as pop_es_values, then these are
the nrep values for each of the
calls, allowing for different numbers
of replications for the population values.
If NULL, the default, then the
original nrep will be used.
This argument is used by
x_from_power() for efficiency, and
is rarely used when calling
this function directly.
- save_sim_all
If FALSE,
the dataset in the
power4test objects are not saved,
to reduce
the size of the output. Default
is TRUE.
- sort
WHen combining the
objects, whether they will be sorted
by population values. Default is TRUE.
- skip_checking_models
Whether
the check of the data generation model
will be checked. Default is TRUE.
Should be set to FALSE only when
users are certain the they are based
on the same model, or when the model
is not saved (e.g., save_sim_all
set to FALSE when the objects
were generated).
This argument is used by
x_from_power() for efficiency, and
is rarely used when calling
the c method directly.
- original_object
The object
to be converted to a power4test_by_es
object.
- x
The object
to be printed.
- print_all
If TRUE, all
elements in x, that is, the results
of all sample sizes examined, will
be printed. If FALSE, then only
those of the first value of the
parameter
will be printed.
- digits
The numbers of digits
displayed after the decimal.