pllimits: Determine Inner Plot Range

Description Usage Arguments Value Author(s) See Also Examples

Description

The inner plotting range is the range in which plotting functions of the regr0 package show unmodified coordinates. This function determines the range for one or more variables.

Usage

1
pllimits(pllim, data, limfac = 4, FUNC=robrange)

Arguments

pllim

either a logical: shall an inner plotting range be determined? – or a matrix with 2 rows and NCOL(data) rows, in which case the suitability will be checked.

data

vector or matrix or data.frame of data for which the inner plotting range is to be determined

limfac

scalar factor by which the range determined by FUNC is expanded

FUNC

function that determines the range of the data

Value

A matrix with 2 rows containing the minimum and the maximum of the inner plotting range. The columns correspond to those in data.

Author(s)

WSt

See Also

plcoord

Examples

1
2
3
4
  set.seed(0)
  xx <- rt(50, df=3)
  ( pll <- pllimits(TRUE, xx) )
  sum(xx<pll[1,] | xx>pll[2,])  ## 3

regr0 documentation built on May 2, 2019, 4:52 p.m.

Related to pllimits in regr0...