Computes cumulative time or cost for units m through n in a production block using Wright's cumulative average model. Assumes the block begins at unit m and ends at unit n.

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

Arguments

t
time (or cost) required for the mth unit of production
n
last unit of the production block of concern
r
learning curve rate
m
first unit of the production block of concern (default: m = 1)
na.rm
Should NA values be removed?

Examples

# Production of the first 200 units of a product is nearing its # end. Your customer said he is willing to buy an additional 50 # units. There will be no break in production or in learning. The # first unit required 75 hours and the first 200 units had an 85% # learning curve. How many hours will the second block of 50 units # require? ca_block(t = 75, m = 201, n = 250, r = .85)
#> [1] 806.772
## [1] 806.772