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 July 5, 2025, 1:27 a.m.