Contour_Plot: Contour plot of the bivariate exponential distribution (BED)...

Description Usage Arguments Value Author(s) Examples

View source: R/Contour_Plot.R

Description

This function builds the contour plot of the BED. The required inputs are the correlation coefficient, the scale parameters of the marginal distributions, and the values of the cumulative joint probabilities associated to the contours (Default values 5%, 25%, 75%, and 95%). This function also allows pair of values to be plotted on the contour plot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Contour_Plot(
  rho,
  Betax,
  Betay,
  Pr = c(5, 25, 75, 95),
  xlabel = "x",
  ylabel = "y",
  title = "BED",
  Rvalues = FALSE,
  n = 1000
)

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.

Pr

A value or vector of values specifing the cumulative joint probability associated to the contour plot. Default values 5%, 25%, 75%, and 95%.

xlabel

Label of the x-axis.

ylabel

Label of the y-axis.

title

Title of the figure.

Rvalues

True or False variable (Optional). If TRUE is specified, pairs (x,y) are plotted on the contour plot. If FALSE is specifed, only the contours are plotted. Default FALSE.

n

Numbers of pairs (x,y) to be plotted if Rvalues is specified as TRUE. Default value 1000.

Value

The Contour plot of the BED is provided.

Author(s)

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

Examples

1
Contour_Plot(rho=0.5,Betax=1,Betay=1)

Example output



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