Learn R Programming

IFC (version 0.2.1)

cpp_smoothLinLog: Smooth LinLog Transformation with Rcpp

Description

Takes a numeric vector and return its transformation: - to linear, if abs(x) < hyper. - to log, if abs(x) > hyper.

Arguments

x

NumericVector.

hyper

double, value where transition between Lin/Log is applied.

base

double, base of Log scale.

lin_comp

double, value that is used to smooth transition between Lin/Log.