Learn R Programming

ypr (version 0.4.0)

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")

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.

Value

A ggplot2 object.

See Also

ypr_population() and ypr_tabulate_schedule()

Examples

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

Run the code above in your browser using DataLab