gplot is primarily used by plot.mandel.kh to produce the underlying grouped data plot.
gplot(x, main = NULL, xlab = NULL, ylab = deparse(substitute(x)),
ylim = NULL, las = 1, axes = TRUE, cex.axis = 1,
frame.plot = axes, lwd = 1, lty = 1, col = par("col"),
separators = TRUE, col.sep = "lightgrey", lwd.sep = 1,
lty.sep = 1, zero.line = TRUE,
lwd.zero = 1, col.zero = 1, lty.zero = 1,
spacing=NA, ...)
A matrix or data frame to be plotted.
Main title for the plot.
Labels for x and y axes.
the y limits of the plot.
the style of the axis labels; see par
for details.
a logical value indicating whether axes should be drawn on the plot.
The magnification to be used for axis annotation relative to the current setting of 'cex'.
Logical; If TRUE
a box is drawn around the plot.
Graphical parameters used for the plotted vertical lines corresponding to each value in x.
Logical; if TRUE
, separator lines are drawn between groups of values.
Graphical parameters used for the separator lines.
logical; if TRUE
a horizontal line is drawn at zero.
Graphical parameters used for the zero line.
Other graphical parameters passed to plot
.
Spacing for data within each group, as a fraction of inter-group spacing. Defaults to 0.3 or less.
A numeric vector of mid-points of the groups along the x-axis.
gplot
produces a plot of type="h", with values in x grouped by row and with
optional vertical separators between groups. The plotting order (left to right) is
in order of stack(as.data.frame(t(x)))
; each group corresoponds to a row in x.
Because gplot
is primarily a supporting function for plot.mandel.kh
,
it assumes a suitable object will be provided and does minimal checking
to ensure an appropriate object class. Error messages may not be
very informative.
Accuracy (trueness and precision) of measurement methods and results -- Part 2: Basic method for the determination of repeatability and reproducibility of a standard measurement method. ISO, Geneva (1994).
# NOT RUN {
data(RMstudy)
h <- with(RMstudy, mandel.h(RMstudy[2:9], g=Lab))
gplot(h, las=2)
#Note the absence of indicator lines, title etc.
#compared to plot(h)
# }
Run the code above in your browser using DataLab