Description Usage Arguments Value Author(s) See Also
This function calculates exponential decay of a data value y
(e.g. trip duration)
given the intercept N0 and decay rate λ parameters using the functional form:
N(y) = N0 exp(-λ*y). If y = duration, the function calculates the number of trips counted for a given duration.
1 | decay.func(N0, lambda, y)
|
N0 |
intercept (baseline number of expected trips at y=0) |
lambda |
decay rate |
y |
a scalar or vector giving the data value(s) (e.g. trip duration) |
A scalar or vector of N(y)
John Giles
Other simulation:
calc.hpd()
,
calc.prop.inf()
,
calc.prop.remain()
,
calc.timing.magnitude()
,
calc.wait.time()
,
get.age.beta()
,
get.beta.params()
,
sim.TSIR.full()
,
sim.TSIR()
,
sim.combine.dual()
,
sim.combine()
,
sim.gravity.duration()
,
sim.gravity()
,
sim.lambda()
,
sim.pi()
,
sim.rho()
,
sim.tau()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.