Learn R Programming

IFC (version 0.1.1)

cpp_inv_smoothLinLog: Inverse Smooth LinLog Transformation with Rcpp

Description

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

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.