bvn.plot | R Documentation |
The function uses functions from lattice and mvtnorm to make wireframe plots of bivariate normal distributions. Remember that the covariance must be less than the product of the marginal standard deviations (square roots of the diagonal elements).
bvn.plot(mu = c(0, 0), cv = 0, vr = c(1, 1), res = 0.3, xlab = expression(y[1]),
ylab = expression(y[2]), zlab = expression(paste("f(", y[1], ",", y[2], ")")), ...)
mu |
A vector containing the joint distribution means. |
cv |
A number, indicating the covariance of the two variables. |
vr |
The diagonal elements in the variance covariance matrix. |
res |
Plot resolution. Smaller values create a more detailed wireframe plot. |
xlab |
X-axis label. |
ylab |
Y-axis label. |
zlab |
Z-axis label. |
... |
Additional arguments from |
Ken Aho
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.