Learn R Programming

MethComp (version 1.30.2)

ends: Function to identify the extremes of a vector

Description

Function to identify the extremes of a vector

Usage

ends(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