create.alter {PoweR} | R Documentation |
Create a list giving the type of each test statistic for a given vector of indices of these test statistics.
create.alter(stat.indices = c(42, 51, 61), values.alter = NULL)
stat.indices |
vector of indices of test statistics, as given by
function |
values.alter |
vector of the type of each test statistic in |
See Section 3.3 in Lafaye de Micheaux, P. and Tran, V. A. (2014).
A named list. Each component of the list has the name of the
corresponding index in stat.indices
(e.g. stat
xxx)
and has the value (in 0,1,2,3,4) of the type of test (see Details above).
P. Lafaye de Micheaux, V. A. Tran
Pierre Lafaye de Micheaux, Viet Anh Tran (2016). PoweR: A Reproducible Research Tool to Ease Monte Carlo Power Simulation Studies for Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1–42. doi:10.18637/jss.v069.i03
See getindex
.
create.alter()