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)
vector of indices of test statistics, as given by
function getindex
.
vector of the type of each test statistic in stat.indices
. If
NULL
, the default value will be returned.
A named list. Each component of the list has the name of the
corresponding index in stat.indices
(e.g. stat
See Section 3.3 in Lafaye de Micheaux, P. and Tran, V. A. (2014).
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
.
# NOT RUN {
create.alter()
# }
Run the code above in your browser using DataLab