Learn R Programming

pempi (version 1.0.0)

log_modified: Modified log function (internal function)

Description

Simple function that return log(x) if x > 0 and 0 otherwise.

Usage

log_modified(x)

Value

Modified log function

Arguments

x

A numeric value assumed such that x >= 0.

Author

Stephane Guerrier