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, ...)
par
for details.TRUE
a box is drawn around the plot.TRUE
, separator lines are drawn between groups of values.TRUE
a horizontal line is drawn at zero.plot
.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.plot.mandel.kh
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