limq: create an interval to catch a set proportion of input data...

Description Usage Arguments Value

View source: R/plot.R

Description

The name is short for: (lim)its to capture (q)uantiles

Usage

1
2
3
4
5
6
7
limq(
  data,
  quantiles = c(0.01, 0.99),
  lim = c(NA, NA),
  column = NA,
  pretty = c(NA, NA)
)

Arguments

data

list, data-frame, or matrix with input data

quantiles

numeric of length 2, used in quantiles()

lim

numeric of length 2, starting interval, values with NA are filled in and positions with non-NA are left alone.

column

identifier for column

pretty

numeric of length 2, ensures that limits are multiples of these values

Value

numeric vector of length 2 with (min, max) values for limits


tkonopka/shrt documentation built on March 5, 2020, 2:51 p.m.