Extract the bounds required by sensitivity::morris() from an mctable.
Usage
mctable_bounds(
mctable = set_mctable(),
mc_names = NULL,
if_not_sampled = c("exclude", "median", "mean", "max", "min"),
transformation = TRUE,
n_probe = 1000
)Arguments
- mctable
(data frame). Table containing at least
mcnodeandsample_space; may also containtransformation. Default:set_mctable().- mc_names
(character vector, optional). Node names to include. If
NULL, all nodes inmctable$mcnodeare used.- if_not_sampled
(character). How to handle nodes not listed in
mc_names(and nodes with missing or emptysample_space):"exclude","median","mean","max", or"min". Default:"exclude".- transformation
(logical). Whether to apply
transformationrules. Default:TRUE.- n_probe
(integer). Number of probe draws used to approximate bounds when
transformation = TRUE. Default: 1000.
