law.cstr: Gives information about a given law.

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

Description

To obtain the name of a law as well as its default number of parameters and default parameter values.

Usage

1
law.cstr(law.index, law.pars = NULL)

Arguments

law.index

a single integer value corresponding to the index of a distribution as given by function getindex.

law.pars

vector of the values of the parameters of the law specified in law.index. If NULL, the default values are used.

Details

This function can be useful to construct a title for a graph for example.

Value

name

name of the distribution with its parameters and the values they take.

nbparams

default number of parameters of the law.

law.pars

values of the parameters.

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 stat.cstr, getindex, getnbparlaws, getnbparstats.

Examples

1

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

Related to law.cstr in PoweR...