plot.gofCOP: Plotting function for objects of class gofCOP

Description Usage Arguments Details Value References

View source: R/class_gofCOP_plot.R

Description

Plots an object of class gofCOP.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class 'gofCOP'
plot(
  x,
  copula = NULL,
  hybrid = NULL,
  point.bg = "white",
  point.col = "black",
  point.cex = 0.7,
  jitter.val = 0.1,
  pal = "xmen",
  bean.b.o = 0.2,
  inf.method = "hdi",
  theme = 2,
  ...
)

Arguments

x

An object of class gofCOP.

copula

Specify for which copulae to plot the results. The possible entry is a character vector of the copula names. Default is NULL which plots all copulae in the object.

hybrid

Specify for which combinations to plot the hybrid tests. The possible entry is a numeric vector of the hybrid combinations. Default is NULL which plots all possible combinations.

point.bg

The background color of the plot. Defaults to white.

point.col

The color of the dots. Defaults to black.

point.cex

The size of the dots. Defaults to 0.7.

jitter.val

Jittering the dots left/right for better visibility of results. Defaults to 0.1.

pal

Color palette of the plots. Defaults to xmen.

bean.b.o

Specification of how opaque the bars are. Defaults to 0.2.

inf.method

Type of inference bands. Defaults to Bayesian Highest Density Intervals, hdi.

theme

Theme of the plot. See pirateplot for more details. Defaults to 2.

...

Further arguments to be passed to pirateplot.

Details

The plotting function is constructed around pirateplot from the yarrr package. Please see respective package for more details on the non-default specifications of the plotting function.

We recommend not to amend the arguments xlim, data, formula, sortx, xaxt, ylim and ylab from pirateplot. The arguments were defined such that the resulting plot displays the test results in a proper manner.

Value

None

References

Phillips, N. (2017). yarrr: A Companion to the e-Book "YaRrr!: The Pirate's Guide to R". R package version 0.1.5. https://CRAN.R-project.org/package=yarrr


gofCopula documentation built on April 22, 2021, 5:10 p.m.