Download The Hmisc Package
Transcript
plsmo
177
ylab
y-axis label, like xlab.
add
Set to T to call lines instead of plot. Assumes axes already labeled.
lty
line type, default=1,2,3,. . . , corresponding to group
col
color for each curve, corresponding to group. Default is current par("col").
lwd
vector of line widths for the curves, corresponding to group. Default is current
par("lwd"). lwd can also be specified as an element of label.curves if
label.curves is a list.
iter
iter parameter if method="lowess", default=0 if y is binary, and 3 otherwise.
bass
bass parameter if method="supsmu", default=0.
trim
only plots smoothed estimates between trim and 1-trim quantiles of x. Default is
to use 10th smallest to 10th largest x in the group if the number of observations
in the group exceeds 200 (0 otherwise). Specify trim=0 to plot over entire range.
fun
after computing the smoothed estimates, if fun is given the y-values are transformed by fun()
group
a variable, either a factor vector or one that will be converted to factor
by plsmo, that is used to stratify the data so that separate smooths may be
computed
prefix
a character string to appear in group of group labels. The presence of prefix
ensures that labcurve will be called even when add=TRUE.
xlim
a vector of 2 x-axis limits. Default is observed range.
ylim
a vector of 2 y-axis limits. Default is observed range.
label.curves set to FALSE to prevent labcurve from being called to label multiple curves
corresponding to groups. Set to a list to pass options to labcurve. lty and
col are passed to labcurve automatically.
datadensity
set to TRUE to draw tick marks on each curve, using x-coordinates of the raw
data x values. This is done using scat1d.
lines.
set to FALSE to suppress smoothed curves from being drawn. This can make
sense if datadensity=TRUE.
subset
a logical or integer vector specifying a subset to use for processing, with respect
too all variables being analyzed
grid
set to TRUE if the R grid package drew the current plot
...
optional arguments that are passed to scat1d, or optional parameters to pass
to plsmo from panel.plsmo. See optional arguments for plsmo above.
type
set to p to have panel.plsmo plot points (and not call plsmo), l to call
plsmo and not plot points, or use the default b to plot both.
pch
cex
font
vectors of graphical parameters corresponding to the groups (scalars if group
is absent). By default, the parameters set up by trellis will be used.
Value
plsmo returns a list of curves (x and y coordinates) that was passed to labcurve