logistic | R Documentation |
Logistic shape generator
logistic(
time = seq(0, 1, 0.01),
initial = 1,
percent_reduction = 0.5,
midpoint = 0.5,
shape = 1
)
time |
time horizon |
initial |
value at time zero |
percent_reduction |
in [0, 1], percentage reduction compare to the initial value after midpoint of the time horizon, so the end value equals initial x percent_reduction |
midpoint |
the time the function changes |
shape |
control how sharp the transition from initial value to the end value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.