Learn R Programming

radiant.data (version 1.6.2)

ln: Natural log

Description

Natural log

Usage

ln(x, na.rm = TRUE)

Value

Natural log of vector

Arguments

x

Input variable

na.rm

Remove missing values (default is TRUE)

Examples

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

Run the code above in your browser using DataLab