Skip to contents

The function plot_location is used to create a report on hospital incidence in the provided location(s) with forecasted data. The report can include all locations or specific locations as per user input.

Usage

plot_location(plot_path = plot_paths, model = NULL, loc = NULL)

Arguments

plot_path

A character vector containing the paths of the CSV files with the forecasted data.

model

A character vector specifying the type of model.

loc

A character vector speciyfing the location to be visualized. If this parameter is NULL, the function will generate reports for all available locations. Default value is NULL.

Value

This function returns a ggplot object containing the visualization of hospital incidence in the specified location(s) with forecasted data.