powered by
Plot confirmed cases and fatalities (cumulative) for one country/region by index.
plotRegion(regionList, countryIndex = 1)
A list containing a representation of the data.
num Index
A plot
Data are taken from the regionTrain and regionPopulation data sets that were combined using the preprocessInputData function.
regionTrain
regionPopulation
preprocessInputData
plotRegionByName.
plotRegionByName
# NOT RUN { regionList <- preprocessInputData(regionTrain, regionPopulation) p <- plotRegion(regionList = regionList, countryIndex = 1) # } # NOT RUN { # }
Run the code above in your browser using DataLab