PDF_3dPlot: 3D plot of the joint PDF of the bivariate exponential...

Description Usage Arguments Details Value Author(s) Examples

View source: R/PDF_3dPlot.R

Description

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.

Usage

 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
)

Arguments

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)

Details

Based on the function persp of the graphics package.

Value

A 3D plot of the joint PDF of the BED is provided.

Author(s)

Luis F. Duque <lfduquey@gmail.com> <l.f.duque-yaguache2@newcastle.ac.uk>

Examples

1
PDF_3dPlot(rho=0.85,Betax=1,Betay=1)

Example output



MDBED documentation built on Feb. 22, 2020, 1:11 a.m.