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 April 25, 2024, 9:14 a.m.