Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

avoidZero

Get rid of zeros in a numeric vector


Description

Get rid of zeros in a numeric vector before taking the logarithm of them. We basically replace the "zeros" with a negligible small value in order to avoid NaN upon the log-transformation.

Usage

avoidZero(x, fac = 10)

Arguments

x

numeric values as input

fac

numeric a factor of scale in order to get a "small" value to replace zeros

Value

a vector of value with zeros replaced.


ELISAtools

ELISA Data Analysis with Batch Correction

v0.1.5
MIT + file LICENSE
Authors
Feng Feng [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.