Description Usage Arguments Value Examples
With the ordinary method, each set of 5 subdivided values will always sum to the original data point given. With the modified method, some smoothing occurs, and this property is only true for the first and last given data point.
1 2 3 |
points |
A list of at least 5 numbers, eg, populations by 5-year age-band. |
For subdivision: a list 5 times as long as the original, with each point subdivided into 5.
1 2 3 4 | # Subdivide population of UK (2015), ages 0-4, 5-9, 10-14, 15-19, 20-24 into single years.
beers_sub_ordinary(c(4042918, 3927745, 3529200, 3779712, 4174572))
beers_sub_modified(c(4042918, 3927745, 3529200, 3779712, 4174572))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.