log.na {vsn} | R Documentation

## Wrapper around the log() function that avoids warnings when negative values are presented

### Description

Wrapper around the log() function that avoids warnings when negative values are presented

### Usage

    log.na(x, ...)

### Arguments

`x` | A numeric or complex vector.
`...` | Further arguments that get passed on to `log`.

### Value

A vector of the same length as `x' containing the transformed values. For x<=0, NA is returned without warning.

### Author(s)

Wolfgang Huber http://www.dkfz.de/mga/whuber

### See Also

`log`

### Examples

       log.na(-3:3)

[Package Contents]