% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/02_decision_model_functions.R
\name{decision_model}
\alias{decision_model}
\title{Decision model}
\usage{
decision_model(
  l_params_all,
  p_CDX2neg_init = NULL,
  Trt = FALSE,
  err_stop = FALSE,
  verbose = FALSE
)
}
\arguments{
\item{l_params_all}{List with all parameters of decision model}

\item{p_CDX2neg_init}{Initial proportion of CDX2-negative patients. Default
is NULL and will take the value of \code{p_CDX2neg} defined in
\code{load_all_params()}}

\item{Trt}{is this the Treat All strategy? (default is FALSE)}

\item{err_stop}{Logical variable to stop model run if set up as TRUE. Default
= FALSE.}

\item{verbose}{Logical variable to indicate print out of messages. Default
= FALSE}
}
\value{
The transition probability array, the cohort trace matrix and the transition
dynamics array.
}
\description{
\code{decision_model} implements the decision model used.
}
