log_CT_orig {COINr} | R Documentation |
Log-transform a vector
Description
Performs a log transform on a numeric vector.
Usage
log_CT_orig(x, na.rm = FALSE)
Arguments
x |
A numeric vector. |
na.rm |
Set |
Details
Specifically, this performs a "COIN Tool log" transform: log(x-min(x) + 1)
.
Value
A log-transformed vector of data, and treatment details wrapped in a list.
Examples
x <- runif(20)
log_CT_orig(x)
[Package COINr version 1.1.14 Index]