powered by
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 TRUE if there is more than one variable to plot and FALSE is there is just one.
TRUE
FALSE
Produces a plot; returns NULL invisibly.
NULL
# NOT RUN { if (require("car")){ data(Bfox) Bfox$time <- as.numeric(rownames(Bfox)) with(Bfox, lineplot(time, menwage, womwage)) } # }
Run the code above in your browser using DataLab