zero: zero

Description Usage Arguments

View source: R/utility.R

Description

Numbers under threshold are assigned numeric zero. Threshold default equals 0.00001

Usage

1
zero(x, power = -5, base = 10, coef = 1)

Arguments

x

numeric vector to turn to zero

power

the power associated. default = -5

base

Base of the exponent. default = 10

coef

coefficent of the power and base. default = 1


jtlandis/aiR documentation built on Dec. 26, 2019, 3:35 a.m.