| distrhelpers | R Documentation |
This set of functions help handle the distribution classes. See Details.
get_moment_methods(x)
get_class_abbr(distr)
get_distr_class(distr)
s4_to_list(distr)
get_params(distr, list = TRUE)
get_unknown_params(distr, list = TRUE)
update_params(distr, prm, i)
x, distr |
an object of class |
list |
logical. Should a list be returned? If |
prm, i |
A list containing three elements ( |
Depends on the function. See Details.
get_moment_methods(): Returns a character vector with the available moment
methods for the distribution.
get_class_abbr(): Turns the S4 class in the name (character) used in
the usual stats dpqr syntax.
get_distr_class(): Turns the distribution name from a character to an
S4 class.
s4_to_list(): Turns an S4 distr object to a list.
get_params(): Get the parameters of a distribution as a list.
get_unknown_params(): Get the unknown parameters of a distribution as a
list.
update_params(): Update the distribution parameters. Returns the
distribution object. Used inside the small_metrics() and large_metrics()
functions.
small_metrics(), large_metrics()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.