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