If TRUE, the transformed values are also centered and
scaled, such that the transformation attempts a standard normal
warn
Should a warning result from infinite values?
object
an object of class 'exp_x'
newdata
a vector of data to be (potentially reverse) transformed
inverse
if TRUE, performs reverse transformation
...
additional arguments
Value
A list of class exp_x with elements
x.t
transformed
original data
x
original data
mean
mean after transformation but prior to standardization
sd
sd after transformation but prior to standardization
n
number of nonmissing observations
norm_stat
Pearson's P / degrees of freedom
standardize
was the transformation standardized
The predict function returns the numeric value of the transformation
performed on new data, and allows for the inverse transformation as well.
Details
exp_x performs a simple exponential transformation in the context of
bestNormalize, such that it creates a transformation that can be estimated
and applied to new data via the predict function.