Learn R Programming

ypr (version 0.4.0)

plot.ypr_population: Plot Population Schedule

Description

Plot Population Schedule

Usage

# S3 method for ypr_population
plot(x, type = "b", ...)

Arguments

x

The population to plot.

type

1-character string giving the type of plot desired. The following values are possible, for details, see plot: "p" for points, "l" for lines, "b" for both points and lines, "c" for empty points joined by lines, "o" for overplotted points and lines, "s" and "S" for stair steps and "h" for histogram-like vertical lines. Finally, "n" does not produce any points or lines.

...

Additional arguments passed to graphics::plot.formula functions.

Value

An invisible copy of the original object.

See Also

ypr_population() and ypr_tabulate_schedule()

Examples

Run this code
# NOT RUN {
plot(ypr_population())
# }

Run the code above in your browser using DataLab