Description Usage Arguments Value Examples
This function returns the joint density from a bivariate random normal.
1 |
x, y |
vector of quantiles |
mean |
vector of both means |
sd |
vector of both standard deviations |
rho |
correlation between the two normals |
numeric vector of joint densities
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## center of standard bivariate normal
jdnorm(x = 0, y = 0)
## change scale
jdnorm(x = 0, y = 0, sd = c(10, 10))
## change location
jdnorm(x = 5, y = 5, mean = c(5, 5))
## scale-location transform
jdnorm(x = 42, y = 42, mean = c(42, 42), sd = c(10, 10))
## multiple samples from correlated
jdnorm(x = c(1, -1, -1, 1), y = c(1, 1, -1, -1), rho = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.