Description Usage Arguments Details Value Examples
View source: R/help_parameter_estimation_functions.R
Function to check if the parameters are sufficient to define a distribution and if not see if we can estimate the parameters from the given parameters, e.g. for gamma distribution, shape and rate can be estimated from mean and sd
1 | check_estimate_required_params(the_expr, distr_key)
|
the_expr |
the expression that contain the definition |
distr_key |
the keyword used to generate random numbers in stats package |
if the distribution is gamma and the parameters are mean and sd we can estimate shape and rate from mean and sd. This function is not usually needed by the user
the parameters required
1 | check_estimate_required_params("gamma(mean = 10 ,sd = 1)", "gamma")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.