distrhelpers {joker} | R Documentation |
Distribution Handling Helpers
Description
This set of functions help handle the distribution classes. See Details.
Usage
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)
Arguments
x , distr |
an object of class |
list |
logical. Should a list be returned? If |
prm , i |
A list containing three elements ( |
Value
Depends on the function. See Details.
Functions
-
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 usualstats
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 thesmall_metrics()
andlarge_metrics()
functions.
See Also
small_metrics()
, large_metrics()