getindex {PoweR} | R Documentation |
Get indices of laws and statistics functions.
Description
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
.
Usage
getindex(law.indices = NULL, stat.indices = NULL)
Arguments
law.indices |
if not |
stat.indices |
if not |
Value
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.
Author(s)
P. Lafaye de Micheaux, V. A. Tran
References
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 Also
See getnbparlaws
, getnbparstats
, stat.cstr
,law.cstr
.
Examples
getindex(1,c(4,3))