logm1: Logarithm with a minus one offset.

View source: R/numeric-helpers.R

logm1R Documentation

Logarithm with a minus one offset.

Description

Computes log(x - 1).

Usage

logm1(x, base = exp(1))

Arguments

x

A numeric or complex vector.

base

A positive or complex number: the base with respect to which logarithms are computed. Defaults to e = exp(1).


brms documentation built on Sept. 26, 2023, 1:08 a.m.