| zerona | R Documentation |
Converts zero values to NA. Useful when zero represents an invalid measurement or when a logarithmic scale is desired.
zerona(x)
x |
A data frame, matrix, or vector containing zeros. |
An object of the same class with zeros replaced by NA.
Chun-Sheng Liang <chun-shengliang@qq.com>
zerona(0:5)
zerona(cbind(a = 0:5, b = c(6:10, 0)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.