Learn R Programming

covidregionaldata (version 0.8.2)

get_daily_from_cumulative: Daily counts from data that is in cumulative form.

Description

Gets daily counts from data column that is in cumulative form.

Usage

get_daily_from_cumulative(column)

Arguments

column

A vector of numeric data (e.g. a data column) which corresponds to cumulative counts of a process

Value

A vector of numeric data which corresponds to daily counts