Skip to content

Commit

Permalink
add example to documentation of vip_population
Browse files Browse the repository at this point in the history
  • Loading branch information
tinigarske committed Feb 8, 2024
1 parent 012256c commit 8f767df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/vip_population.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
##' respectively, throughout the whole population.
##' @export
##' @author Tini Garske
##' @examples
##' pop <- vip_population(region = "UK", year_min = 2000, year_max = 2010)
##'
##' pop <- vip_population(region = c("FRA", "UK"),
##' year_min = 2000, year_max = 2010,
##' age_min = 0, age_max = 80)
##'
vip_population <- function(region = character(),
year_min = integer(), year_max = integer(),
age_min = 0, age_max = 100) {
Expand Down
8 changes: 8 additions & 0 deletions man/vip_population.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f767df

Please sign in to comment.