quick_melt: Function to quickly melt c an d into a data table

quick_meltR Documentation

Function to quickly melt c an d into a data table

Description

Given a compact version of cases and deaths, function will convert the information into a datatable first summing over all the rows of c and d

Usage

quick_melt(c, d, fix_cumul = FALSE, type = c("mid", "low", "high"))

Arguments

c

compact version of confirmed cases

d

compact version of deaths

fix_cumul

(logical, default=F); set to TRUE to fix cumulative data

type

(string, default="mid"); strategy to fix cumulative data

Examples

quick_melt(c,d)

lmullany/rawcoviddata documentation built on March 21, 2023, 10:04 a.m.