Learn R Programming

MethComp (version 1.30.2)

middle: Function to identify the middle of a vector

Description

Function to identify the middle of a vector

Usage

middle(w, rm = 1/3)

Value

A logical vector of indices that a

Arguments

w

A numeric vector of values

rm

A value between 0 and 1 giving the percentage of extreme observations to remove