lowess.bygroup {cwhmisc}R Documentation

Plot data in groups, each with lowess or loess smoothing

Description

data in groups (shown by variable group) are plotted

Usage

lowess.bygroup(x, y, group, lin=FALSE, col = par("col"), bg = NA,
 pch = par("pch"), cex = 1, ...)
loess.bygroup(x, y, group, lin=FALSE, col = par("col"), bg = NA,
 pch = par("pch"), cex = 1, ...)

Arguments

x, y coordinate vectors of equal length
group grouping variable, must be a vector of same length as x and y
lin If TRUE, then lines connecting the points (x,y) are drawn
cex see par
col colour of lines
bg background colour
pch character to plot
... see pairs

Value

The procedure is called for its side effect of producing a plot

Author(s)

Christian W. Hoffmann, c-w.hoffmann@sunrise.ch,
http://www.wsl.ch/personal_homepages/hoffmann/index_EN


[Package cwhmisc version 2.0.1 Index]