| lineplot | R Documentation |
Plot a one or more lines
lineplot(x, ..., legend)
x |
variable giving horizontal coordinates. |
... |
one or more variables giving vertical coordinates. |
legend |
plot legend? Default is |
This function plots lines for one or more variables against another variable, typically time series against time.
Produces a plot; returns NULL invisibly.
John Fox
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.