Computes the time (or cost) required for a specific unit using Wright's cumulative average model.

ca_unit(t, n, r, m = 1, na.rm = FALSE)

Arguments

t
time (or cost) required for the mth unit of production
n
nth unit you wish to predict the time (or cost) for
r
learning curve rate
m
mth unit for which you have time (or cost) information (default is m = 1)
na.rm
Should NA values be removed?

Examples

# An estimator want to know the unit hours for unit 2,200 using # when the hours for unit 1 were 110 and the learning rate was # 88.5%. ca_unit(t = 110, m = 1, n = 2200, r = .885)
#> [1] 23.34001
## [1] 23.34001