trimean: Trimean - robust location statistic

View source: R/trimean.R

trimeanR Documentation

Trimean - robust location statistic

Description

The trimean is defined as (Q1 + 2*Q2 + Q3) / 4.

Usage

trimean(x, na.rm = FALSE)

Arguments

x

Vector of numeric values

na.rm

If TRUE, remove NA values from x

Value

Trimean value


pteetor/tutils documentation built on March 29, 2025, 6:38 p.m.