CDF_3dPlot {MDBED} | R Documentation |
3D plot of the joint CDF of the bivariate exponential distribution (BED) based on the Moran-Downton model
Description
This function builds a 3D plot of the joint CDF 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.
Usage
CDF_3dPlot(
rho,
Betax,
Betay,
xlabel = "x",
ylabel = "y",
zlabel = "Joint CDF",
title = "BED",
angle = 45,
GS = 0.5
)
Arguments
rho |
Correlation coefficient between marginal distributions of x 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 (Default value 45). |
GS |
Grid spacing; value between 0 and 1 (Default value 0.5). |
Details
Based on the function wireframe
of the lattice
package.
Value
A 3D plot of the joint CDF of the BED is provided.
Author(s)
Luis F. Duque <lfduquey@gmail.com> <l.f.duque-yaguache2@newcastle.ac.uk>
Examples
CDF_3dPlot(rho=0.85,Betax=1,Betay=1)