reconhub / incidence

☣:chart_with_upwards_trend::chart_with_downwards_trend:☣ Compute and visualise incidence
https://reconhub.github.io/incidence
Other
58 stars 13 forks source link

Add accessors; update vignette #73

Closed zkamvar closed 5 years ago

zkamvar commented 5 years ago

This PR is mostly housekeeping in which I add accessors for elements in the incidence object and tidy up the code in the incidence_class vignette

The new accessors I've added are:

These are both in the same documentation file.

I've also removed n_groups in favor of ncol() by adding a dim() method for incidence objects.