ca_block: Wright's Cumulative Average Learning Curve Function

Description Usage Arguments Examples

View source: R/cumulative_avg_models.R

Description

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.

Usage

1
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

1
2
3
4
5
6
7
8
9
# 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

learningCurve documentation built on May 2, 2019, 2:13 p.m.