mode_gamma_fwd_rev: mode_gamma_fwd_rev

View source: R/gamma_funs.r

mode_gamma_fwd_revR Documentation

mode_gamma_fwd_rev

Description

calculates mode for a given gamma distribution fit, as produced by fit_gamma_fwd_rev(). If that function failed, fallback is what to return if that function instead (as a passthrough).

Usage

mode_gamma_fwd_rev(fit, fallback)

Arguments

fit

object returned by fit_gamma_fwd_rev().

fallback

anything. what to return if fit failed.

Value

either a single value (a mode), or fallback.

Author(s)

John L. Darcy


darcyj/specificity documentation built on Aug. 1, 2023, 8 a.m.