Plots an object of class gofCOP.
## S3 method for class 'gofCOP'
# S3 method for gofCOP
plot(x, copula = NULL, hybrid = NULL, point.bg = "white", point.col = "black",
point.cex = .7, jitter.val = 0.1, pal = "xmen", bean.b.o = .2,
inf.method = "hdi", theme = 2, ...)
An object of class
gofCOP.
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.
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.
The background color of the plot. Defaults to white
.
The color of the dots. Defaults to black
.
The size of the dots. Defaults to 0.7
.
Jittering the dots left/right for better visibility of results. Defaults to 0.1
.
Color palette of the plots. Defaults to xmen
.
Specification of how opaque the bars are. Defaults to 0.2
.
Type of inference bands. Defaults to Bayesian Highest Density Intervals, hdi
.
Theme of the plot. See pirateplot
for more details. Defaults to 2
.
Further arguments to be passed to pirateplot
.
None
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.
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