Learn R Programming

ypr (version 0.5.2)

ypr_plot_schedule: Plot Population Schedule Terms

Description

Produces a bivariate line plot of two schedule terms.

Usage

ypr_plot_schedule(population, x = "Age", y = "Length")

Value

A ggplot2 object.

Arguments

population

An object of class ypr_population().

x

A string of the term on the x-axis.

y

A string of the term on the y-axis.

See Also

ypr_population() and ypr_tabulate_schedule()

Examples

Run this code
ypr_plot_schedule(ypr_population())

Run the code above in your browser using DataLab