Learn R Programming

refineR (version 2.0.0)

plot.RWDRI: Standard plot method for objects of class 'RWDRI'

Description

Standard plot method for objects of class 'RWDRI'

Usage

# S3 method for RWDRI
plot(
  x,
  Scale = c("original", "transformed", "zScore"),
  RIperc = c(0.025, 0.975),
  Nhist = 60,
  showMargin = TRUE,
  showPathol = FALSE,
  scalePathol = TRUE,
  showBSModels = FALSE,
  showValue = TRUE,
  uncertaintyRegion = c("bootstrapCI", "uncertaintyMargin"),
  CIprop = 0.95,
  UMprop = 0.9,
  pointEst = c("fullDataEst", "medianBS"),
  colScheme = c("green", "blue"),
  xlim = NULL,
  ylim = NULL,
  xlab = NULL,
  ylab = NULL,
  title = NULL,
  ...
)

Value

			The applied plot limits in x-direction (xlim) are returned.

Arguments

x

(object) of class 'RWDRI'

Scale

(character) specifying if percentiles are shown on the original scale ("or") or the transformed scale ("tr") or the z-Score scale ("z")

RIperc

(numeric) value specifying the percentiles, which define the reference interval (default c(0.025, 0.975))

Nhist

(integer) number of bins in the histogram (derived automatically if not set)

showMargin

(logical) specifying if the specified margins, i.e. confidence intervals or uncertainty margins, shall be shown

showPathol

(logical) specifying if the estimated pathological distribution shall be shown

scalePathol

(logical) specifying if the estimated pathological distribution shall be weighted with the ration of pathol/non-pathol

showBSModels

(logical) specifying if the estimated bootstrapping models shall be shown

showValue

(logical) specifying if the exact value of the estimated reference intervals shall be shown above the plot

uncertaintyRegion

(character) specifying the type of the uncertainty region around point estimates

CIprop

(numeric) value specifying the central region for estimation of confidence intervals

UMprop

(numeric) value specifying the central region for estimation of uncertainty margins

pointEst

(character) specifying the point estimate determination: (1) using the full dataset ("fullDataEst"), (2) calculating the median model from the bootstrap samples ("medianBS"), (2) works only if NBootstrap > 0

colScheme

(character) specifying color scheme of the non-pathological distribution and reference interval; choices are "green" and "blue"

xlim

(numeric) vector specifying the limits in x-direction

ylim

(numeric) vector specifying the limits in y-direction

xlab

(character) specifying the x-axis label

ylab

(character) specifying the y-axis label

title

(character) specifying plot title

...

additional arguments passed forward to other functions

Author

Christopher Rank christopher.rank@roche.com, Tatjana Ammer tatjana.ammer@roche.com