equal_breaks: Equal number of breaks

View source: R/05b_deterministic_analysis_functions.R

equal_breaksR Documentation

Equal number of breaks

Description

This function runs a deterministic one-way sensitivity analysis (OWSA) on a given function that produces outcomes. Obtained from: https://stackoverflow.com/a/28459434

Usage

equal_breaks(n_breaks = 3, scale_factor = 0.05, ...)

Arguments

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 nsamp

nsamps

number of parameter values. If NULL, 100 parameter values are used

Value

A function that generates equal number of breaks across facets


feralaes/cdx2cea documentation built on April 7, 2024, 10:12 a.m.