View source: R/exponential_growth.R
exponential_growth | R Documentation |
Exponential growth is also called geometric growth and has the property of the rate of change is proportional to the quantity itself.
exponential_growth(start, rate, steps = 1)
start |
The starting condition where exponential growth begins. |
rate |
The growth rate or exponent to represent growth. |
steps |
The number of discrete growth iterations. |
Numeric vector.
Stuart K. Grange
# Starting condition of 10000 with a low value for the exponential growth
exponential_growth(start = 10000, rate = 1.1, steps = 6)
# The same starting condition but with twice the growth rate, a huge change
exponential_growth(start = 10000, rate = 1.1 * 2, steps = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.