unit_midpoint: Midpoint Unit Function

Description Usage Arguments Examples

View source: R/unit_models.R

Description

Provides the so-called "midpoint" or average unit between units m and n (where n > m). Based on Crawford's unit learning curve model.

Usage

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

Arguments

m

lower bound unit of production

n

upper bound unit of production

r

learning curve rate

na.rm

Should NA values be removed?

Examples

1
2
3
4
5
# If a production block runs from unit 201 to unit 500 inclusive
# with a 75% learning curve, what is the midpoint unit?

unit_midpoint(m = 201, n = 500, r = .75)
## [1] 334.6103

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