toolConditionalReplace: toolConditionalReplace

Description Usage Arguments Value Author(s)

View source: R/toolConditionalReplace.R

Description

Sets values (NA, negative, ..) to zero

Usage

1

Arguments

x

magpie object on cellular level

conditions

vector of conditions for values, that should be removed e.g. "== NA", "< 0" (order matters)

replaceby

value which should be used instead (can be a vector of same length as conditions as well)

Value

return changed input data

Author(s)

Kristine Karstens


madrat documentation built on Dec. 25, 2019, 9:07 a.m.