-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcalc_target_mean_wait.Rd
executable file
·34 lines (33 loc) · 1.33 KB
/
calc_target_mean_wait.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calc_target_mean_wait.R
\name{calc_target_mean_wait}
\alias{calc_target_mean_wait}
\title{Average Waiting Time}
\usage{
calc_target_mean_wait(target_wait, factor = 4)
}
\arguments{
\item{target_wait}{Numeric value of the number of weeks that has been set as
the target within which the patient should be seen.}
\item{factor}{Numeric factor used in average wait calculation - to get a
quarter of the target use factor=4 and one sixth of the target use factor =
6 etc. Defaults to 4.}
}
\value{
Numeric value of target mean waiting time to achieve a given target
wait.
}
\description{
This calculates the target mean wait given the two inputs of
target_wait and a numerical value for factor. The average wait is actually
the target mean wait and is calculated as follows: target_wait / factor. If
we want to have a chance between 1.8\%-0.2\% of making a waiting time target,
then the average patient should have a waiting time between a quarter and a
sixth of the target. Therefore: The mean wait should sit somewhere between
target_wait/factor=6 < Average Waiting Time < target_wait/factor=4.
}
\examples{
# If the target wait is 52 weeks then the target mean wait with a factor of 4
# would be 13 weeks and with a factor of 6 it would be 8.67 weeks.
calc_target_mean_wait(52, 4)
}