log_GII {COINr} | R Documentation |
Performs a log transform on a numeric vector. This function is currently not recommended - see comments below.
log_GII(x, na.rm = FALSE)
x |
A numeric vector. |
na.rm |
Set |
Specifically, this performs a "GII log" transform, which is what was encoded in the GII2020 spreadsheet.
Note that this transformation is currently NOT recommended because it seems quite volatile and can flip the direction of the indicator. If the maximum value of the indicator is less than one, this reverses the direction.
A log-transformed vector of data.
x <- runif(20)
log_GII(x)