The mean number of person-days served per day over a period: a STOCK, answering how many people are held at one time.
Details
This is Lakner's \(\bar{X}_{hc} = \sum X_i / t\) (1976, p.15). The
denominator is TIME, which is what makes it a stock. Compare
alos(), whose denominator is people.
References
Lakner, E. (1976) A Manual of Statistical Sampling Methods for Corrections Planners. University of Illinois at Urbana-Champaign.
Examples
# Lakner's own worked example (p.15): 3,000 inmates served 13,500
# detention days in a year.
adp(13500)
#> [1] 36.9863
# per-person days give the same total
adp(c(10, 20, 30), t = 30)
#> [1] 2