pl.control {plgraphics} | R Documentation |
Arguments that can be specified calling plyx
and
other 'pl' functions are checked and data is prepared for plotting.
pl.control(x=NULL, y=NULL, data = NULL, subset = NULL, transformed = TRUE, gensequence = NULL, cex = NULL, psize = NULL, plab = FALSE, pch = NULL, pcol = NULL, cex.pch = NULL, markextremes = NULL, smooth = NULL, xlab = NULL, ylab = NULL, varlabels = NULL, vcol = NULL, vlty = NULL, vpch = NULL, main = NULL, sub = ":", .subdefault = NULL, mar = NULL, ploptions = NULL, .environment. = parent.frame(), assign = TRUE, ... )
x, y, data |
as in |
subset |
subset of data.frame 'data' to be used for plotting. See details. |
transformed |
logical: should transformed variables be used? |
gensequence |
logical: if only |
cex |
character expansion, applied to both labels and plotting characters. |
psize, plab, pch, pcol |
Plotting characteristics of points,
specified as a (unquoted) variable name found in |
cex.pch |
expansion of plotting symbol relative to
|
markextremes |
scalar: proportion of extreme points to be labelled |
smooth |
logical: should a smooth line be added? |
xlab, ylab |
axis labels |
varlabels |
labels for variables replacing their names in the |
vcol, vlty, vpch |
color, line type and plotting character
to be used when multiple y-s are plotted (in the sense of
|
main, sub |
string. Main title of the plot(s).
If |
.subdefault |
for internal use: default of subtitle |
mar |
plot margins |
ploptions |
Plotting attributes, e.g., plotting character,
line types, colors and the like, for different aspects of plots.
Result of |
.environment. |
used by the calling function to provide the
environment for evaluating |
assign |
logical: should the result of |
... |
further arguments. These may include:
|
!!!
The argument subset
should be used instead of
data[subset,]
if the dataset data
contains variable
attributes like varlabel, ticksat, ...
.
The argument is evaluated in the dataset defined by data
,
i.e., variable names may be used to define the subset.
A list containing all the arguments, possibly in modified form.
Specifically, the evaluations of the variables contained in
x
and y
along with
psize, plab, pch, pcol, smoothGroup, smoothWeights
are collected in the component pdata
.
The component, plappearances
, contains the result of calling
the respective function or the corresponding component of the
user options.
Werner A. Stahel
plyx(Sepal.Width~Sepal.Length, data=iris, axp=7, plab=TRUE, cex.plab=0.6) ## same as plargs <- pl.control(Sepal.Width~Sepal.Length, data=iris) plargs$pdata$plab <- row.names(iris) plargs$cex.lab <- 0.6 plargs$axp <- 7 plyx(Sepal.Width~Sepal.Length, plargs=plargs)