Description Usage Arguments Value Examples
plots age structure over multiple days
rtPlotAgeStructure
visualises change in age structure over time using a raster type plot.
Requires the raster package.
1 |
df |
a dataframe with days in columns and ages in rows OR an array of [day,y,x,sex,age] |
title |
a title for the plot |
nothing
1 2 | tst <- rt_runAspatial(verbose=FALSE)
rtPlotAgeStructure(tst$dfRecordF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.