Computes the natural slope rate for given learning rates

natural_slope(r, na.rm = FALSE)

Arguments

r
learning curve rate
na.rm
Should NA values be removed?

Examples

# Calculate the natural slope for learning rates of 80%, 85%, 90% natural_slope(r = c(.80, .85, .90))
#> [1] -0.3219281 -0.2344653 -0.1520031
## [1] -0.3219281 -0.2344653 -0.1520031