Description Usage Arguments Value Examples
The definition of a week without antimicrobial use (AMU) is based not only on the status of AMU during that week, but also potentially on the AMU during the n weeks that preceed.
1 | no_amu(x, n = 0)
|
x |
A boolean vector describing the presence / absence of AMU. This vector has to be ordered chronologically (oldest first) and has to be with no gap. |
n |
An scalar integer specifying the number of weeks to consider before a focal week in order to define AMU. |
A boolean vector of the same length as x, with the first n values equal to NA.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.