mode_est: Compute the mode

View source: R/utils.R

mode_estR Documentation

Compute the mode

Description

Compute the mode

Usage

mode_est(x)

Arguments

x

a numeric vector

Value

The mode of a numeric vector as computed by the methods from Venter (1967).

Source

Venter, J.H. (1967). On estimation of the mode, Annals of Mathematical Statistics, 38(5), 1446-1455.

Examples

library(waspr)
mode_est(pois_logistic[1,1,])


waspr documentation built on Sept. 11, 2023, 5:10 p.m.