normaliseEvents: normaliseEvents

Description Usage Arguments Value

View source: R/getData.R

Description

divide the value in the events by the specified normBy and multiply by a factor. For instance to normalise the data by every 100 inhabitants, set normBy='population' and multiplyFactor=100

Usage

1
normaliseEvents(events, population, normBy, multiplyFactor = 1)

Arguments

events

(data.frame) events dataframe

population

(data.frame) population dataframe

normBy

(character) name of the column to use in population

multiplyFactor

(numeric) positive integer

Value

normalised events data.frame


theasjblog/covid19_package documentation built on May 2, 2021, 8:11 p.m.