Description Usage Arguments Value Examples
View source: R/apply_ln_transformation.r
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.
1 | apply_ln_transformation(data_matrix)
|
data_matrix |
The original data matrix. |
The log-transformed data matrix.
1 2 3 | data_matrix <- matrix(1:10, dimnames = list(NULL, 'some_val'))
data_matrix
autovarCore:::apply_ln_transformation(data_matrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.