log.na {vsn} | R Documentation |
Wrapper around the log() function that avoids warnings when negative values are presented
log.na(x, ...)
x |
A numeric or complex vector. |
... |
Further arguments that get passed on to
log . |
A vector of the same length as `x' containing the transformed values. For x<=0, NA is returned without warning.
Wolfgang Huber http://www.dkfz.de/abt0840/whuber
log.na(-3:3)