log10int: Interpolated log10

Description Usage Arguments Value Examples

Description

log10int interpolates the log10 between 1 and 100. 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-6 in mean and in the order of 1e-3 in the worst case (tested on the example column in log10data, which consists of randomly generated numbers between 1 and 100). It is a generic function and S3 methods exists for the class numeric and default.

Usage

1

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. If no object of the class numeric is given to the function, a warning is printed.

Examples

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

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