modp | R Documentation |
A function which rrturns either the input value (if positive) or zero (if negative)
modp(x)
x |
a numberic vector |
A fucntion which returns a version of x with negative values replacd with 0
a numeric vector with negative values replaced with 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.