Description Usage Arguments Value
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
1 | normaliseEvents(events, population, normBy, multiplyFactor = 1)
|
events |
(data.frame) events dataframe |
population |
(data.frame) population dataframe |
normBy |
(character) name of the column to use in population |
multiplyFactor |
(numeric) positive integer |
normalised events data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.