law.cstr {PoweR} | R Documentation |
Gives information about a given law.
Description
To obtain the name of a law as well as its default number of parameters and default parameter values.
Usage
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 |
law.pars |
vector of the values of the parameters of the law specified in
|
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
law.cstr(2)