diff --git a/man/backcalc_opts.Rd b/man/backcalc_opts.Rd index 2b6cbf92c..dc6fcaeaa 100644 --- a/man/backcalc_opts.Rd +++ b/man/backcalc_opts.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/opts.R +% Please edit documentation in R/depreciated.R \name{backcalc_opts} \alias{backcalc_opts} \title{Back Calculation Options} diff --git a/man/process_opts.Rd b/man/process_opts.Rd index 9c3417a98..8cce5af5f 100644 --- a/man/process_opts.Rd +++ b/man/process_opts.Rd @@ -17,40 +17,44 @@ process_opts( ) } \arguments{ -\item{rw}{Numeric step size of the random walk, defaults to 0. To specify a weekly random -walk set \code{rw = 7}. For more custom break point settings consider passing in a \code{breakpoints} -variable as outlined in the next section.} +\item{rw}{Numeric step size of the random walk, defaults to 0. To specify a +weekly random walk set \code{rw = 7}. For more custom break point settings +consider passing in a \code{breakpoints} variable as outlined in the next section.} -\item{use_breakpoints}{Logical, defaults to \code{TRUE}. Should break points be used if present -as a \code{breakpoint} variable in the input data. Break points should be defined as 1 if present -and otherwise 0. By default breakpoints are fit jointly with a global non-parametric effect -and so represent a conservative estimate of break point changes (alter this by setting \code{gp = NULL}).} +\item{use_breakpoints}{Logical, defaults to \code{TRUE}. Should break points be +used if present as a \code{breakpoint} variable in the input data. Break points +should be defined as 1 if present and otherwise 0. By default breakpoints +are fit jointly with a global non-parametric effect and so represent a +conservative estimate of break point changes (alter this by setting +\code{gp = NULL}).} \item{future}{A character string or integer. This argument indicates how to set future Rt values. Supported options are to project using the Rt model ("project"), to use the latest estimate based on partial data ("latest"), to use the latest estimate based on data that is over 50\% complete ("estimate"). If an integer is supplied then the Rt estimate from this many days into the future (or past if negative) past will be used forwards in time.} -\item{pop}{Integer, defaults to 0. Susceptible population initially present. Used to adjust -Rt estimates when otherwise fixed based on the proportion of the population that is -susceptible. When set to 0 no population adjustment is done.} +\item{pop}{Integer, defaults to 0. Susceptible population initially present. +Used to adjust Rt estimates when otherwise fixed based on the proportion of +the population that is susceptible. When set to 0 no population adjustment +is done.} -\item{prior}{List containing named numeric elements "mean" and "sd". The mean and -standard deviation of the log normal Rt prior. Defaults to mean of 1 and standard -deviation of 1.} +\item{prior}{List containing named numeric elements "mean" and "sd". The +mean and standard deviation of the log normal Rt prior. Defaults to mean of +1 and standard deviation of 1.} -\item{use_rt}{Logical, defaults to \code{TRUE}. Should Rt be used to generate infections -and hence reported cases.} +\item{use_rt}{Logical, defaults to \code{TRUE}. Should Rt be used to generate +infections and hence reported cases.} -\item{gp_on}{Character string, defaulting to "R_t-1". Indicates how the Gaussian process, -if in use, should be applied to Rt. Currently supported options are applying the Gaussian -process to the last estimated Rt (i.e Rt = Rt-1 * GP), and applying the Gaussian process to -a global mean (i.e Rt = R0 * GP). Both should produced comparable results when data is not -sparse but the method relying on a global mean will revert to this for real time estimates, -which may not be desirable.} +\item{gp_on}{Character string, defaulting to "R_t-1". Indicates how the +Gaussian process, if in use, should be applied to Rt. Currently supported +options are applying the Gaussian process to the last estimated Rt (i.e +Rt = Rt-1 * GP), and applying the Gaussian process to a global mean (i.e Rt += R0 * GP). Both should produced comparable results when data is not sparse +but the method relying on a global mean will revert to this for real time +estimates, which may not be desirable.} } \value{ -A list of settings defining the time-varying reproduction number +A list of settings defining the time-varying reproduction number. } \description{ \ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#stable}{\figure{lifecycle-stable.svg}{options: alt='[Stable]'}}}{\strong{[Stable]}} @@ -64,3 +68,8 @@ process_opts() # add a weekly random walk process_opts(rw = 7) } +\author{ +Sebastian Funk + +Sam Abbott +} diff --git a/man/rt_opts.Rd b/man/rt_opts.Rd index 47057447c..d171c4bc5 100644 --- a/man/rt_opts.Rd +++ b/man/rt_opts.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/opts.R +% Please edit documentation in R/depreciated.R \name{rt_opts} \alias{rt_opts} \title{Time-Varying Reproduction Number Options}