Description Usage Arguments Value Author(s)
Convenience function to convert non-positive values to missing.
1 | positivise(x, strict = FALSE)
|
x |
a vector of numeric values |
strict |
Output must be strictly positive |
The vector with negative values replaced by NA. If
strict=TRUE
, zero values are also replaced by NA.
Toby Johnson Toby.x.Johnson@gsk.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.