log10int.numeric: Interpolated log10

Description Usage Arguments Value Examples

View source: R/log10int.R

Description

This method interpolates the log10 between 1 and 100 for values of the class numeric. Therefor it uses a table with the log10 values between 1 and 100 in steps of 0.01, computed with the R log10 function. The accuracy of the interpolation is in the order of 1e-5. It is a generic function and S3 methods exists for the class numeric and default.

Usage

1
2
## S3 method for class 'numeric'
log10int(x, ...)

Arguments

x

a numeric or vector of numerics

...

further arguments passed to or from other methods

Value

numeric or vector of numerics, containing the interpolated log10 values of x

Examples

1
2
log10int(5)
log10int(c(3.77, 6.228))

Melanie757/log10interpolated documentation built on Oct. 12, 2020, 12:03 a.m.