GammaModes: Modes of the Gamma distribution

View source: R/GammaModes.R

GammaModesR Documentation

Modes of the Gamma distribution

Description

Compute mode (i.e., maximum) of Rdistance's version of the gamma distribution.

Usage

GammaModes(params)

Arguments

params

A matrix of Gamma distribution parameters. First column is the scale parameter, and is a fuction of covariates. Second column is the shape parameter.

Value

A vector of the locations of the gamma modes associated with each row in the params matrix.


Rdistance documentation built on Jan. 10, 2026, 1:07 a.m.