apply_ln_transformation: Applies the natural logarithm to the data set

Description

This applies the ln function columnwise to the given input matrix and returns the modified matrix. If necessary, columns undergo a linear translation to ensure that all resulting values are >= 0.

Usage

1

Arguments

data_matrix

The original data matrix.

Value

The log-transformed data matrix.

Examples

1
2
3
data_matrix <- matrix(1:10, dimnames = list(NULL, 'some_val'))
data_matrix
autovarCore:::apply_ln_transformation(data_matrix)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.