plot.demog_change_component_df: Plot 'demog_change_component_df' objects

View source: R/S3_methods_demog_change_component_df.R

plot.demog_change_component_dfR Documentation

Plot demog_change_component_df objects

Description

This is the S3 method for the generic plot function. It requires ggplot2.

Usage

## S3 method for class 'demog_change_component_df'
plot(x, type = c("line", "point", "both"), ...)

Arguments

x

An object inheriting from class demog_change_component_df.

type

The type of plot to produce, e.g., “line”.

...

Passed on to ggplot.

Value

A ggplot2 plot object.The function is mainly called for the side effect of producing a plot.

Author(s)

Mark Wheldon


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.