Usage
## S3 method for class 'gofGroup':
plot(x, plot.type = "Summary",
captions = list(QQ = NULL, MDQQ = NULL, ScoresQQ = NULL, ScoresMDQQ = NULL,
Results = NULL),
x.labels = list(QQ = NULL, MDQQ = NULL, ScoresQQ = NULL, ScoresMDQQ = NULL),
y.labels = list(QQ = NULL, MDQQ = NULL, ScoresQQ = NULL, ScoresMDQQ = NULL),
same.window = FALSE, ask = same.window & plot.type == "All", add.line = TRUE,
digits = ifelse(plot.type == "Summary", 2, .Options$digits), test.result.font = 1,
test.result.cex = ifelse(plot.type == "Summary", 0.9, 1) * par("cex"),
test.result.mar = c(0, 0, 3, 0) + 0.1, individual.p.values = FALSE,
cex.main = ifelse(plot.type == "Summary", 1.2, 1.5) * par("cex"),
cex.axis = ifelse(plot.type == "Summary", 0.9, 1) * par("cex"),
cex.lab = ifelse(plot.type == "Summary", 0.9, 1) * par("cex"),
main = NULL, xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, add.om.title = TRUE,
oma = if (plot.type == "Summary" & add.om.title) c(0, 0, 5, 0) else c(0, 0, 0, 0),
om.title = NULL, om.font = 2, om.cex.main = 1.5 * par("cex"), om.line = 1, ...)
Arguments
plot.type
character string indicating what kind of plot to create. Only one particular
plot type will be created, unless plot.type="All"
, in which case all plots
will be created sequentially. The possible values of plot.type
are:
captions
a list with 1 to 5 components with the names "QQ"
, "MDQQ"
,
"ScoresQQ"
, "ScoresMDQQ"
, and/or "Results"
.
Each component either has
the value NULL
or else it is a char
x.labels
a list of 1 to 4 components with the names "QQ"
, "MDQQ"
,
"ScoresQQ"
, and/or "ScoresMDQQ"
.
Each component either has the value
NULL
or else it is a character string containing th
y.labels
a list of 1 to 4 components with the names "QQ"
, "MDQQ"
,
"ScoresQQ"
, and/or "ScoresMDQQ"
. Each component either has the value
NULL
or else it is a character string containing the lab
same.window
logical scalar indicating whether to produce all plots in the same graphics
window (same.window=TRUE
), or to create a new graphics
window for each separate plot (same.window=FALSE
; the default).
The argument is relev
ask
logical scalar supplied to the function devAskNewPage
, indicating
whether to prompt the user before creating a new plot within a single graphics
window. The default value is FALSE
add.line
logical scalar indicating whether to add a line to the plot. If add.line=TRUE
and plot.type="Q-Q Plot"
or plot.type="Scores Q-Q Plot"
,
a 0-1 line is added to the plot.
If add.line=TRUE
and
digits
scalar indicating how many significant digits to print for the test results
when plot.type="Summary"
or plot.type="Test Results"
.
If plot.type == "Summary"
, the default value is
digits=2
, ot
individual.p.values
logical scalar indicating whether to display the p-values associated with
each individual group. The default value is individual.p.values=FALSE
.
test.result.font
numeric scalar indicating which font to use to print out the test results.
The default value is test.result.font=1
. See the description of the
font
argument in the help file for par
test.result.cex
numeric scalar indicating the value of cex
to use to print out the
test results. The default value is 0.9*par("cex")
when
plot.type="Summary"
, otherwise it is par("cex")
.
See the description
test.result.mar
numeric vector indicating the value of mar
to use to print out the
test results. The default value is test.result.mar=c(0, 0, 3, 0)+0.1
.
See the description of the mar
argument in the help file for
add.om.title
logical scalar indicating whether to add a title in the outer margin when
plot.type="Summary"
. The default value is add.om.title=TRUE
.
om.title
character string containing the outer margin title. The default value is
om.title=NULL
, which will result in a default title.
om.font
numeric scalar indicating the font to use for the outer margin. The default
value is om.font=2
.
om.cex.main
numeric scalar indicating the value of cex
for the outer margin title.
The default value is 1.5 * par("cex")
.
om.line
numeric scalar indicating the line to place the outer margin title on. The
default value is om.line=1
.
cex.main, cex.axis, cex.lab, main, xlab, ylab, xlim, ylim, oma, ...
additional graphics parameters. See the help file for par
.