getnbparlaws: Retrieve the default number of parameters of some laws.

Description Usage Arguments Value Author(s) References See Also Examples

Description

Retrieve the default number of parameters of the distributions in the package.

Usage

1
getnbparlaws(law.indices = NULL)

Arguments

law.indices

vector of the indices of the distributions from which to retrieve the default number of parameters. If NULL, all the distributions will be considered.

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

1
2
3
4
## Default numbers of parameters for all the distributions in the package:
getnbparlaws()
## The Gaussian distribution has two parameters:
getnbparlaws(2)

PoweR documentation built on May 2, 2019, 2:09 p.m.

Related to getnbparlaws in PoweR...