Extract parameter names
Internal function for extracting given parameter names of a distribution from the environment. Called by new_dist_spec
extract_params(params, distribution)
params
: Given parameters (obtained using as.list(environment())
)distribution
: Character; the distribution to use.A character vector of parameters and their values.
Useful links