Description Usage Arguments Details Author(s) See Also Examples

View source: R/joint.pr.plot.R

Given two vectors, the `joint.pr.plot`

function creates a
scatterplot with ellipses of probability regions.

1 | ```
joint.pr.plot(x, y, quantiles=c(0.25,0.50,0.75,0.95))
``` |

`x` |
This required argument is a vector. |

`y` |
This required argument is a vector. |

`quantiles` |
These are the quantiles for which probability regions
are estimated with ellipses. The center of the ellipse is plotted by
default. The 0.95 quantile creates a probability region that
contains approximately 95% of the data or samples of |

A probability region is also commonly called a credible region. For
more information on probability regions, see `p.interval`

.

Joint probability regions are plotted only for two variables, and the
regions are estimated with functions modified from the `car`

package. The internal ellipse functions assume bivariate normality.

This function is often used to plot posterior distributions of
samples, such as from the `LaplacesDemon`

function.

Statisticat, LLC. [email protected]

1 2 3 4 | ```
library(LaplacesDemonCpp)
x <- rnorm(100)
y <- rnorm(100)
joint.pr.plot(x, y)
``` |

LaplacesDemonR/LaplacesDemonCpp documentation built on May 7, 2019, 12:43 p.m.

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.