Description Usage Arguments Value See Also

**This function requires data to have been dumped to disk**: see `?dump2dir`

and `?setoutput`

. The routine `quantile.lgcpPredict`

computes quantiles of functions of Y. For example, to get cell-wise quantiles of exceedance probabilities, set `fun=exp`

.
Since computign the quantiles is an expensive operation, the option to output the quantiles on a subregion of interest is also provided (by
setting the argument `inWindow`

, which has a sensible default).

1 2 3 4 |

`x` |
an object of class lgcpPredict |

`qt` |
a vector of the required quantiles |

`tidx` |
the index number of the the time interval of interest, default is the last time point. |

`fun` |
a 1-1 function (default the identity function) to be applied cell-wise to the grid. Must be able to evaluate sapply(vec,fun) for vectors vec. |

`inWindow` |
an observation owin window on which to compute the quantiles, can speed up calculation. Default is x$xyt$window. |

`crop2parentwindow` |
logical: whether to only compute the quantiles for cells inside x$xyt$window (the 'parent window') |

`startidx` |
optional starting sample index for computing quantiles. Default is 1. |

`sampcount` |
number of samples to include in computation of quantiles after startidx. Default is all |

`...` |
additional arguments |

an array, the [,,i]th slice being the grid of cell-wise quantiles, qt[i], of fun(Y), where Y is the MCMC output dumped to disk.

lgcpPredict, dump2dir, setoutput, plot.lgcpQuantiles

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.