s_mode: Statistical mode

View source: R/s_mode.R

s_modeR Documentation

Statistical mode

Description

Calculate the statistical mode.

Usage

s_mode(x)

Arguments

x

A vector.

Value

A vector.

If the mode is missing-data: NA.

Examples

zhaoy::s_mode(x = attenu$dist)

zhaoy/zhaoy documentation built on Feb. 1, 2024, 7:50 p.m.