lineplot {RcmdrMisc} | R Documentation |
Plot a one or more lines.
Description
This function plots lines for one or more variables against another variable — typically time series against time.
Usage
lineplot(x, ..., legend)
Arguments
x |
variable giving horizontal coordinates. |
... |
one or more variables giving vertical coordinates. |
legend |
plot legend? Default is |
Value
Produces a plot; returns NULL
invisibly.
Author(s)
John Fox jfox@mcmaster.ca
Examples
if (require("car")){
data(Bfox)
Bfox$time <- as.numeric(rownames(Bfox))
with(Bfox, lineplot(time, menwage, womwage))
}
[Package RcmdrMisc version 2.9-1 Index]