prepare_plot_data: Prepare Data for Plotting

View source: R/connected_scatterplot.R

prepare_plot_dataR Documentation

Prepare Data for Plotting

Description

This internal function identifies the minimum and maximum year data points for use in plotting geometries. It could probably be removed but is kept in case the df_epi_fltrd data frame is large.

Usage

prepare_plot_data(df_epi_fltrd)

Arguments

df_epi_fltrd

A data frame created by prep_epi_data containing epidemiological data filtered by country and year.

Value

A list containing the original filtered data (filtered_data) and a data frame with the minimum and maximum year data (min_max_year).


USAID-OHA-SI/mindthegap documentation built on Jan. 19, 2025, 3:16 a.m.