Skip to content

Commit

Permalink
typos and better description to age_col
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalopespx committed Sep 1, 2022
1 parent cc16b25 commit 537df51
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions R/nowcasting_inla.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
#' [Default] 30 weeks.
#' @param data.by.week If it has to be returned the whole time-series data.
#' [Default] FALSE.
#' @param return.age [Depracted] If the estimate by Age should be returned.
#' @param return.age [Deprecated] If the estimate by Age should be returned.
#' [Default] TRUE.
#' @param bins_age Age bins to do the nowcasting, it receive a vector of age bins,
#' or options between, "SI-PNI", "10 years", "5 years".
#' [Default] "SI-PNI".
#' @param silent [Depracted] Should be the warnings turned off?
#' @param silent Should be the warnings turned off?
#' [Default] is TRUE.
#' @param K (in weeks) How much weeks to forecast ahead?
#' [Default] K is 0, no forecasting ahead
#' @param age_col Column for ages
#' @param age_col Column for ages on individual level data, in numeric values
#' @param date_onset Column of dates of onset of the events, normally date of onset of first symptoms of cases
#' @param date_report Column of dates of report of the event, normally date of digitation of the notification of cases
#' @param trajectories Returns the trajectories estimated on the inner 'INLA' model
Expand Down
6 changes: 3 additions & 3 deletions man/nowcasting_inla.Rd

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

3 changes: 2 additions & 1 deletion vignettes/nowcaster.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ The call of the function is straightforward, it simply needs a dataset as input,
nowcasting_bh_no_age <- nowcasting_inla(dataset = sragBH,
date_onset = DT_SIN_PRI,
date_report = DT_DIGITA,
data.by.week = T)
data.by.week = T,
silent = T)
head(nowcasting_bh_no_age$total)
```

Expand Down

0 comments on commit 537df51

Please sign in to comment.