Plot a one or more lines.
This function plots lines for one or more variables against another variable --- typically time series against time.
lineplot(x, ..., legend)
- variable giving horizontal coordinates.
- one or more variables giving vertical coordinates.
- plot legend? Default is
TRUEif there is more than one variable to plot and
FALSEis there is just one.
- Produces a plot; returns
data(Bfox, package="car") Bfox$time <- as.numeric(rownames(Bfox)) with(Bfox, lineplot(time, menwage, womwage))
Looks like there are no examples yet.