getnbparlaws {PoweR} | R Documentation |
Retrieve the default number of parameters of some laws.
Description
Retrieve the default number of parameters of the distributions in the package.
Usage
getnbparlaws(law.indices = NULL)
Arguments
law.indices |
vector of the indices of the distributions from which to retrieve the
default number of parameters. If |
Value
The default number of parameters for the laws specified in
law.indices
.
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 getnbparstats
, getindex
,
law.cstr
, stat.cstr
.
Examples
## Default numbers of parameters for all the distributions in the package:
getnbparlaws()
## The Gaussian distribution has two parameters:
getnbparlaws(2)
[Package PoweR version 1.1.4 Index]