lineplot: Plot a one or more lines.

Description Usage Arguments Value Author(s) Examples

View source: R/utilities.R

Description

This function plots lines for one or more variables against another variable — typically time series against time.

Usage

1

Arguments

x

variable giving horizontal coordinates.

...

one or more variables giving vertical coordinates.

legend

plot legend? Default is TRUE if there is more than one variable to plot and FALSE is there is just one.

Value

Produces a plot; returns NULL invisibly.

Author(s)

John Fox jfox@mcmaster.ca

Examples

1
2
Bfox$time <- as.numeric(rownames(Bfox))
with(Bfox, lineplot(time, menwage, womwage))

Rcmdr2 documentation built on May 2, 2019, 6:49 p.m.