trim.me: Trim data

Description Usage Arguments Value Author(s) Examples

View source: R/trim.me.R

Description

Trims observations above and below the central (1 - 2λ) part of an an ordered vector of data.

Usage

1
trim.me(Y, trim = 0.2)

Arguments

Y

A vector of quantitative data.

trim

Proportion (0-1) to be trimmed from each tail of an ordered version of Y.

Value

Returns a trimmed data vector.

Author(s)

Ken Aho

Examples

1
2
x<-c(2,1,4,5,6,2.4,7,2.2,.002,15,17,.001)
trim.me(x)


asbio documentation built on May 19, 2017, 7:38 p.m.
Search within the asbio package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.