Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bayesMVN

Bayesian MVN


Description

Fit a Multivariate Normal distribution to bivariate data using Bayesian Inference. Uses the function rmultireg to fit the model to the data.

Usage

bayesMVN(x,y,R=10^4)

Arguments

x

A vector containing the x coordinates of the data.

y

A vector containing the y coordinates of the data.

R

The number of posterior draws to make. Defaults to 10^4.

Value

b

The posterior draws of the estimated means.

S

The posterior draws of the estimated correlation matrix sigma.

Author(s)

Andrew Jackson


siar

Stable Isotope Analysis in R

v4.2
GPL (>= 2)
Authors
Andrew Parnell and Andrew Jackson
Initial release
2013-4-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.