ca_unit: Wright's Cumulative Average Unit Learning Curve Function

Description Usage Arguments Examples

View source: R/cumulative_avg_models.R

Description

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

Usage

1
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

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

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