lineplot | R Documentation |
This function plots lines for one or more variables against another variable — typically time series against time.
lineplot(x, ..., legend)
x |
variable giving horizontal coordinates. |
... |
one or more variables giving vertical coordinates. |
legend |
plot legend? Default is |
Produces a plot; returns NULL
invisibly.
John Fox jfox@mcmaster.ca
if (require("car")){
data(Bfox)
Bfox$time <- as.numeric(rownames(Bfox))
with(Bfox, lineplot(time, menwage, womwage))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.