diff --git a/R/antimalarial_resistance.R b/R/antimalarial_resistance.R index d4712a25..532c042b 100644 --- a/R/antimalarial_resistance.R +++ b/R/antimalarial_resistance.R @@ -92,7 +92,7 @@ set_antimalarial_resistance <- function(parameters, #' treatment has been administered in the current time step. #' #' @param parameters the model parameters -#' @param drug vector of integers representing the drugs administered to each individual receiving treatment +#' @param drugs vector of integers representing the drugs administered to each individual receiving treatment #' @param timestep the current time step get_antimalarial_resistance_parameters <- function(parameters, drugs, timestep) { diff --git a/man/CorrelationParameters.Rd b/man/CorrelationParameters.Rd index b1d22578..c2e6ada7 100644 --- a/man/CorrelationParameters.Rd +++ b/man/CorrelationParameters.Rd @@ -14,17 +14,17 @@ Describes an event in the simulation \section{Methods}{ \subsection{Public methods}{ \itemize{ -\item \href{#method-new}{\code{CorrelationParameters$new()}} -\item \href{#method-inter_round_rho}{\code{CorrelationParameters$inter_round_rho()}} -\item \href{#method-inter_intervention_rho}{\code{CorrelationParameters$inter_intervention_rho()}} -\item \href{#method-sigma}{\code{CorrelationParameters$sigma()}} -\item \href{#method-mvnorm}{\code{CorrelationParameters$mvnorm()}} -\item \href{#method-clone}{\code{CorrelationParameters$clone()}} +\item \href{#method-CorrelationParameters-new}{\code{CorrelationParameters$new()}} +\item \href{#method-CorrelationParameters-inter_round_rho}{\code{CorrelationParameters$inter_round_rho()}} +\item \href{#method-CorrelationParameters-inter_intervention_rho}{\code{CorrelationParameters$inter_intervention_rho()}} +\item \href{#method-CorrelationParameters-sigma}{\code{CorrelationParameters$sigma()}} +\item \href{#method-CorrelationParameters-mvnorm}{\code{CorrelationParameters$mvnorm()}} +\item \href{#method-CorrelationParameters-clone}{\code{CorrelationParameters$clone()}} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-new}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-CorrelationParameters-new}{}}} \subsection{Method \code{new()}}{ initialise correlation parameters \subsection{Usage}{ @@ -40,8 +40,8 @@ initialise correlation parameters } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-inter_round_rho}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-CorrelationParameters-inter_round_rho}{}}} \subsection{Method \code{inter_round_rho()}}{ Add rho between rounds \subsection{Usage}{ @@ -60,8 +60,8 @@ the intervention} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-inter_intervention_rho}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-CorrelationParameters-inter_intervention_rho}{}}} \subsection{Method \code{inter_intervention_rho()}}{ Add rho between interventions \subsection{Usage}{ @@ -83,8 +83,8 @@ the intervention} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-sigma}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-CorrelationParameters-sigma}{}}} \subsection{Method \code{sigma()}}{ Standard deviation of each intervention between rounds \subsection{Usage}{ @@ -93,8 +93,8 @@ Standard deviation of each intervention between rounds } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-mvnorm}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-CorrelationParameters-mvnorm}{}}} \subsection{Method \code{mvnorm()}}{ multivariate norm draws for these parameters \subsection{Usage}{ @@ -103,8 +103,8 @@ multivariate norm draws for these parameters } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-clone}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-CorrelationParameters-clone}{}}} \subsection{Method \code{clone()}}{ The objects of this class are cloneable with this method. \subsection{Usage}{ diff --git a/man/get_antimalarial_resistance_parameters.Rd b/man/get_antimalarial_resistance_parameters.Rd index 34c0a9c6..71de6961 100644 --- a/man/get_antimalarial_resistance_parameters.Rd +++ b/man/get_antimalarial_resistance_parameters.Rd @@ -9,9 +9,9 @@ get_antimalarial_resistance_parameters(parameters, drugs, timestep) \arguments{ \item{parameters}{the model parameters} -\item{timestep}{the current time step} +\item{drugs}{vector of integers representing the drugs administered to each individual receiving treatment} -\item{drug}{vector of integers representing the drugs administered to each individual receiving treatment} +\item{timestep}{the current time step} } \description{ Retrieve the resistance parameters associated with the drug each individual receiving clinical