View source: R/05b_deterministic_analysis_functions.R
equal_breaks | R Documentation |
This function runs a deterministic one-way sensitivity analysis (OWSA) on a given function that produces outcomes. Obtained from: https://stackoverflow.com/a/28459434
equal_breaks(n_breaks = 3, scale_factor = 0.05, ...)
n_breaks |
Number of breaks |
scale_factor |
Scaling factor |
... |
Further arguments to function (not used) |
parms |
Vector with strings with the name of the parameters of interest |
ranges |
A named list of the form c("parm" = c(0, 1), ...) that gives
the ranges for the parameters of interest. The number of samples from this
range is determined by |
nsamps |
number of parameter values. If NULL, 100 parameter values are used |
A function that generates equal number of breaks across facets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.