Learn R Programming

radiant.data (version 0.6.0)

ln: Natural log

Description

Natural log

Usage

ln(x, na.rm = TRUE)

Arguments

x
Input variable
na.rm
Remove missing values (default is TRUE)

Value

Natural log of vector

Examples

Run this code
ln(runif(10,1,2))

Run the code above in your browser using DataLab