powered by
Performs a log transform on a numeric vector.
log_CT_orig(x, na.rm = FALSE)
A log-transformed vector of data, and treatment details wrapped in a list.
A numeric vector.
Set TRUE to remove NA values, otherwise returns NA.
TRUE
NA
Specifically, this performs a "COIN Tool log" transform: log(x-min(x) + 1).
log(x-min(x) + 1)
x <- runif(20) log_CT_orig(x)
Run the code above in your browser using DataLab