trnc: Truncation of plots.

Description Usage Arguments Author(s) See Also Examples

View source: R/trnc.R

Description

Truncate to the specified window.

Usage

1
trnc(x, range=c(0,1), only.finite=TRUE)

Arguments

x

Numeric vector of values to manipulate.

range

Numeric vector of length two giving desired output range.

only.finite

if TRUE (the default), will only modify finite values.

Author(s)

Aaron A. King kingaa at umich dot edu

See Also

censor

Examples

1
trnc(c(-1,0.5,1,2,NA))

kingaa/aakmisc documentation built on Dec. 11, 2017, 10 a.m.