Print two correspondence tables between indices and random
generators functions or test statistics functions programmed in C in this package.
The first table gives indices/laws and the second one gives
indices/statistics. These indices can be used in the
functions powcomp.easy
, powcomp.fast
, compquant
, gensample
, statcompute
, checklaw
.
getindex(law.indices = NULL, stat.indices = NULL)
if not NULL
, select only the laws corresponding to
this vector of indices.
if not NULL
, select only the stats corresponding to
this vector of indices.
A list with two matrices. The first one gives the correspondence
between the indices and the laws (with also the number of parameters for
each law as well as the default values). The second one gives the correspondence
between the indices and the test statistics. Note that you can use the
law.indices
or stat.indices
parameters of this function to obtain only
some part of these tables of correspondence.
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
# NOT RUN {
getindex(1,c(4,3))
# }
Run the code above in your browser using DataLab