Description Usage Arguments Details Value Author(s) Examples
This function builds a 3D plot of the joint PDF of the BED. The required inputs are the correlation coefficient and the scale parameters of the marginal distributions. This function also allows several characteristics of the plot to be set.
1 2 3 4 5 6 7 8 9 10 11 | PDF_3dPlot(
rho,
Betax,
Betay,
xlabel = "x",
ylabel = "y",
zlabel = "Joint PDF",
title = "BED",
angle = -35,
GS = 0.5
)
|
rho |
Correlation coefficient between the marginals distributions of and y. |
Betax |
Scale parameter of the marginal distribution of x. |
Betay |
Scale parameter of the marginal distribution of y. |
xlabel |
Label of the x-axis. |
ylabel |
Label of the y-axis. |
zlabel |
Label of the z-axis. |
title |
Title of the figure. |
angle |
Angle of the 3D projection. |
GS |
Grid spacing; value between 0 and 1 (Default value 0.5) |
Based on the function persp
of the graphics
package.
A 3D plot of the joint PDF of the BED is provided.
Luis F. Duque <lfduquey@gmail.com> <l.f.duque-yaguache2@newcastle.ac.uk>
1 | PDF_3dPlot(rho=0.85,Betax=1,Betay=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.