pllimits {plgraphics}R Documentation

Determine Inner Plot Range

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

pllimits(pllim, data, limfac = NULL, FUNC=NULL)

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)

Werner A. Stahel

See Also

plcoord

Examples

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

[Package plgraphics version 1.2 Index]