This function is used by `plot.paleoTS`

to add the model expectations and probability intervals for (some) models. It is not likely to be called directly by the user.

1 | ```
modelCurves(x, w, np = 500)
``` |

`x` |
a |

`w` |
fitted model results in the form of a |

`np` |
the number of points to use for plotting the expectation |

The function determines what to draw from the `modelName`

of `w`

, along with its parameter values.

A list with the following vectors: `tt`

, the times plotted; `ee`

, the model expectations; `ll`

and `uu`

, the lower and upper 95 percent probability limits for the model.

If the `modelName`

of `w`

is not recognized, `ee`

is set to NA and nothing is added to the plot. At present, the following models are implemented: GRW, URW, Stasis, unsampled punctuations (as by `fitGpunc`

).

Gene Hunt

1 2 3 4 5 6 7 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.