unit_cum_exact: Exact Cumulative Unit Learning Curve Function

Description Usage Arguments Examples

View source: R/unit_models.R

Description

Provides the exact cumulative time or cost required for units m through n (inclusive) using the Crawford unit model

Usage

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

Arguments

t

time (or cost) required for the mth unit of production

n

The unit you wish to predict the cumulative time (or cost) to

r

learning curve rate

m

mth unit of production (default set to 1st production unit)

na.rm

Should NA values be removed?

Examples

1
2
3
4
5
6
7
8
library(learningCurve)
# An estimator believes that the first unit of a product will 
# require 100 labor hours. How many total hours will be required
# for 125 units given the organization has historically experienced
# an 85% learning curve?

unit_cum_exact(t = 100, n = 125, r = .85)
## [1] 5201.085

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