Description Usage Arguments Author(s) See Also Examples
Conditional Autocatlytic Growth: Iterating differential equations (maps)
1 2  | growth.ac.cond(Y0 = 0.01, r = 0.1, k = 2, cond = cbind.data.frame(Y =
  0.2, par = "r", val = 2), N = 100)
 | 
Y0 | 
 Initial value  | 
r | 
 Growth rate parameter  | 
k | 
 Carrying capacity  | 
cond | 
 Conditional rules passed as a data.frame of the form: cbind.data.frame(Y = ..., par = ..., val = ...)  | 
N | 
 Length of the time series  | 
Fred Hasselman
Other autocatalytic growth functions: growth.ac
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | # Plot with the default settings
xyplot(growth.ac.cond())
# The function such that it can take a set of conditional rules and apply them sequentially during the iterations.
# The conditional rules are passed as a `data.frame`
(cond <- cbind.data.frame(Y = c(0.2, 0.6), par = c("r", "r"), val = c(0.5, 0.1)))
xyplot(growth.ac.cond(cond=cond))
# Combine a change of `r` and a change of `k`
(cond <- cbind.data.frame(Y = c(0.2, 1.99), par = c("r", "k"), val = c(0.5, 3)))
xyplot(growth.ac.cond(cond=cond))
# A fantasy growth process
(cond <- cbind.data.frame(Y = c(0.1, 1.99, 1.999, 2.5, 2.9), par = c("r", "k", "r", "r","k"), val = c(0.3, 3, 0.9, 0.1, 1.3)))
xyplot(growth.ac.cond(cond=cond))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.