| exclude {dwp} | R Documentation |
Remove Particular Names from a Longer List
Description
Removes specific values (what) from a longer vector of values (from).
By default, from = mod_standard, and the intent is to simplify the
subsetting of ddArray objects created with the default standard models.
For example, dmod2 <- dmod[exclude("lognormal")] would subset the list
of models in mod_standard to exclude "lognomal". The default can
be overridden by providing a specific vector for from (for example,
dmod[exclude("lognormal", from = names(dmod)])).
Usage
exclude(what, from = mod_standard)
Arguments
what |
vector of distribution names to exclude |
from |
vector of distribution names to be excluded from |
Value
vector of names from "from" after excluding "what"
[Package dwp version 1.1 Index]