log_CT {COINr} | R Documentation |
Performs a log transform on a numeric vector.
log_CT(x, na.rm = FALSE)
x |
A numeric vector. |
na.rm |
Set |
Specifically, this performs a modified "COIN Tool log" transform: log(x-min(x) + a)
, where
a <- 0.01*(max(x)-min(x))
.
A log-transformed vector of data, and treatment details wrapped in a list.
x <- runif(20)
log_CT(x)