Natural log
ln(x, na.rm = TRUE)
x
Input variable
na.rm
Remove missing values (default is TRUE)
Natural log of vector
ln(runif(10, 1, 2))