# Function computes model expectations and 95

### Description

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.

### Usage

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

### Arguments

`x` |
a |

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

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

### Details

The function determines what to draw from the `modelName`

of `w`

, along with its parameter values.

### Value

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.

### Note

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`

).

### Author(s)

Gene Hunt

### Examples

1 2 3 4 5 6 7 |