View source: R/utils-get-prior-data.R
get_prior_data | R Documentation |
Get the prior and MLE values for the given regular expressions of parameter names
get_prior_data(
model,
params_regex = key_posteriors,
params_titles = key_posteriors_titles,
n_points_prior = 1e+05,
...
)
model |
A model object as created by |
params_regex |
A vector of regular expressions used to extract data for parameter names. Default value is key_posteriors |
params_titles |
A list of names for the given elements of
|
n_points_prior |
An integer specifying the number of points you want to
be generated from the |
... |
Absorbs arguments intended for other functions |
A list of prior and MLE data, one for each of the regular
expressions in params_regex
## Not run:
get_prior_data(base_model, "BH_steep")
get_prior_data(base_model, "e")
get_prior_data(base_model, "asdfg")
get_prior_data(base_model, c("NatM", "SR_LN", "SR_BH_steep", "Q_extraSD"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.