logVars.RdLog-transform climate variables
a data.table with columns of climate variables corresponding to
the selected climate elements.
character. Climate elements to search for in dat.
numeric. Log base.
logical. If TRUE adjusts zeroes in raw data as:
\(base^{\log_base{x_min} - 1}\).
where \(x_min\) is the minimum non-zero, non-NA value.
logical. If TRUE, the new logged variables are added to dat
(TRUE). Otherwise, original column values are replaced with the logs (FALSE).
data.table
All column names that partially match strings in elements will be
log-transformed.