get_distr_n_params: Get the number of parameters a distribution uses

View source: R/get_distr_n_params.R

get_distr_n_paramsR Documentation

Get the number of parameters a distribution uses

Description

Get the number of parameters a distribution uses

Usage

get_distr_n_params(distr)

Arguments

distr

a distribution, as created by create_distr or (preferable) its named functions

Value

the number of parameters that distribution uses

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

get_distr_n_params(create_beta_distr())
get_distr_n_params(create_exp_distr())
get_distr_n_params(create_gamma_distr())
get_distr_n_params(create_inv_gamma_distr())
get_distr_n_params(create_laplace_distr())
get_distr_n_params(create_log_normal_distr())
get_distr_n_params(create_normal_distr())
get_distr_n_params(create_one_div_x_distr())
get_distr_n_params(create_poisson_distr())
get_distr_n_params(create_uniform_distr())

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.