Learn R Programming

SPOT (version 2.1.10)

plotRegionByName: plotRegionByName

Description

Plot confirmed cases and fatalities (cumulative) for one country/region by region name.

Usage

plotRegionByName(regionList, country = "Germany")

Arguments

regionList

A list containing a representation of the data.

country

Name of a country from the list dataList

Value

A plot

Details

Data are taken from the regionTrain and regionPopulation data sets that were combined using the preprocessInputData function.

See Also

plotRegion.

Examples

Run this code
# NOT RUN {
regionList <- preprocessInputData(regionTrain, regionPopulation)
p <- plotRegionByName(regionList = regionList, country = "Germany")
# }

Run the code above in your browser using DataLab