Provides summary information for the block containing units m through n (where n > m). Based on Crawford's unit learning curve model.

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

Arguments

t
time for the mth unit
m
lower bound unit of production block
n
upper bound unit of production block
r
learning curve rate
na.rm
Should NA values be removed?

Examples

# A production block runs from unit 201 to unit 500 inclusive. # The 201st unit had a required time of 125 hours with a 75% # learning curve, what is the block summary? unit_block_summary(t = 125, m = 201, n = 500, r = .75)
#> $`block units` #> [1] 300 #> #> $`block hours` #> [1] 30350.48 #> #> $`midpoint unit` #> [1] 334.6103 #> #> $`midpoint hours` #> [1] 101.1683 #>
## $`block units` ## [1] 300 ## $`block hours` ## [1] 30350.48 ## $`midpoint unit` ## [1] 334.6103 ## $`midpoint hours` ## [1] 101.1683