Plot.crossA: Wrapper for crossA

Description Usage Arguments

Description

For a given dataset and a named vector with variables from that dataset, this function creates crossa plots for all variables.

Usage

1
2
3
4
Plot.crossA(data, crossAs = NULL, vars = "all", lab1 = "ST",
  lab2 = "QC", cannotgrades = NULL, foottext = NULL, show.plot = FALSE,
  show.progress = TRUE, sep = ".", nes = c("", NA), title2 = "",
  ext.labels = NULL, cex = 1, PLOT = TRUE, mar = c(0, 0, 0, 0))

Arguments

data

dataset that includes columns named <var>.QC and <var>.ST for all <var> in crossAs

crossAs

named vector containing variables from data. Names are used as titles for the plots. If not named, the variable itself will be used.

vars

indicates which variables should be plotted. Default is 'all'

lab1

lab1 in crossa (default 'ST')

lab2

lab2 in crossa (default 'QC')

cannotgrades

Named vector indicating how 'cannot grade' is coded. Names should be identical to names(crossAs)

foottext

foot text for plots (default NULL)

show.plot

logical; should the plots be plotted one by one? (click for next, default FALSE)

sep

separation symbol between variable and QC/ST in data. (default '.')

nes

character vector with strings that should be ignored in right.subset. (default c(”, NA))

title2

character string to use as subtitle for plots

ext.labels

if NULL (default), labels printed in squares. Otherwise, character vector with same length as vars, with strings to be stand-in for labels in squares while actual labels are printed in the lower left corner. If elements are not strings, but TRUE/FALSE, numbers are used as labels for TRUE entries. If simply TRUE, external labels will be used for all variables.

cex

numeric; passed to crossa. Default 1.

PLOT

logical; if TRUE (default), figure is plotted. If FALSE, summary returned without any figures.


rmtrane/QualityControl documentation built on May 5, 2019, 5:54 p.m.