logfinite: Log-transform a vector and substitute infinite values by 'NA'

Description Usage Arguments Value Examples

View source: R/logfinite.R

Description

This function takes a vector of values and returns the log10 transformed values replacing infinite values by NA

Usage

1

Arguments

x

A vector of values

Value

A vector with the log10 transformed values where the infinite ones have been replaced by NA

Examples

1
2
x <- c(10, 1000, 4, 0, 0.1)
logfinite(x)

qenvio/dryhic documentation built on Nov. 5, 2018, 9:43 p.m.