minmaxHelper4Brick: Computes the x- and y-axes constraints for all 'prettyGraphs'...

View source: R/minmaxHelper4Brick.R

minmaxHelper4BrickR Documentation

Computes the x- and y-axes constraints for all prettyGraphs PTCA4CATA plotting functions that display bootstrapped based confidence, tolerance, or prediction intervals

Description

minmaxHelper4Brick Computes the x- and y-axes constraints for all prettyGraphs and PTCA4CATA plotting functions that displays bootstrapped based confidence, tolerance or prediction intervals. minmaxHelper4Brick transforms the brick into a matrix and calls prettyGraphs::minmaxHelper. minmaxHelper4Brick is typically used to get the dimensions for PTCA4CATA graphics that use MakeCIEllipses or for DistatisR) graphs such as DistatisR::GraphDistatisBoot.

Usage

minmaxHelper4Brick(
  aBrick,
  axis1 = 1,
  axis2 = 2,
  expandFactor = 1,
  trimPercent = 0,
  ...
)

Arguments

aBrick

a brick of bootstrapped factor scores (e.g., from Boot4PTCA).

axis1

the number of the factor for the x-axis (default = 1)

axis2

the number of the factor for the y-axis (default = 2)

expandFactor

expansion factor, if larger than 1 this is an expansion, equal to 1 (default) this does nothing, smaller than 1 this is a shrinkage.

trimPercent

(default = 0) the proportion of extreme values (small and large) to eiliminate.

...

other arguments that could be passed to prettyGraphs::minmaxHelper.

Value

minMaxList A list with the following values: minx, miny, maxx, maxy.

Author(s)

Herve Abdi and Derek Beaton


HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.