log_transform: Logarithmic transformation function.

View source: R/yeo-johnsonTransformation.R

log_transformR Documentation

Logarithmic transformation function.

Description

Computes the logarithm of a number.

Usage

log_transform(y)

Arguments

y

Numerical value of which the logarithm is computed.

Value

This function returns the logarithm of the provided argument y if it is greater than zero. If y is smaller than zero, it will return 0.


depCensoring documentation built on April 4, 2025, 1:52 a.m.