1
0
mirror of https://github.com/msberends/AMR.git synced 2026-06-24 07:36:21 +02:00

Built site for AMR@3.0.1.9061: 0c1709c

This commit is contained in:
github-actions
2026-06-23 18:00:14 +00:00
parent 9447e0f2c2
commit 2a7bfb9ffb
328 changed files with 5357 additions and 3687 deletions

View File

@@ -1,14 +1,13 @@
# Split Ages into Age Groups
Split ages into age groups defined by the \`split\` argument. This
allows for easier demographic (antimicrobial resistance) analysis. The
function returns an ordered \[factor\].
Split ages into age groups defined by the `split` argument. This allows
for easier demographic (antimicrobial resistance) analysis. The function
returns an ordered [factor](https://rdrr.io/r/base/factor.html).
## Usage
``` r
age_groups(x, split_at = c(0, 12, 25, 55, 75), names = NULL,
na.rm = FALSE)
age_groups(x, split_at = c(0, 12, 25, 55, 75), names = NULL, na.rm = FALSE)
```
## Arguments
@@ -34,7 +33,7 @@ age_groups(x, split_at = c(0, 12, 25, 55, 75), names = NULL,
## Value
Ordered \[factor\]
Ordered [factor](https://rdrr.io/r/base/factor.html)
## Details