plot.RWDRI {refineR}R Documentation

Standard plot method for objects of class 'RWDRI'

Description

Standard plot method for objects of class 'RWDRI'

Usage

## S3 method for class 'RWDRI'
plot(
  x,
  Scale = c("original", "transformed", "zScore"),
  RIperc = c(0.025, 0.975),
  Nhist = 60,
  showCI = TRUE,
  showPathol = FALSE,
  scalePathol = TRUE,
  showBSModels = FALSE,
  showValue = TRUE,
  CIprop = 0.95,
  pointEst = c("fullDataEst", "medianBS"),
  xlim = NULL,
  ylim = NULL,
  xlab = NULL,
  ylab = NULL,
  title = NULL,
  ...
)

Arguments

x

(object) of class 'RWDRI'

Scale

(character) specifying if percentiles are calculated 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)

showCI

(logical) specifying if the confidence intervals are 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

CIprop

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

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

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

Value

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

Author(s)

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


[Package refineR version 1.6.1 Index]