default_max: Default Max

Description Usage Arguments Examples

View source: R/random_distribution.R

Description

Default Max

Usage

1
default_max(org_max, new_max, f = c)

Arguments

org_max

original maximum value

new_max

new maximum value for replacement

f

function apply on "org_max" to transform to the correct dimension (e.g. "log" in case of "lognorm" or "log10" in case of log10_norm) (default: c())

Examples

1
2
3
4
default_max(org_max = 2, new_max = 0.01, f = log10)
default_max(org_max = 0, new_max = 0.01, f = log10)
default_max(org_max = 2, new_max = 0.01, f = log)
default_max(org_max = 0, new_max = 0.01, f = log)

KWB-R/kwb.qmra documentation built on June 15, 2021, 11:14 p.m.