plot.bivrp: Plot Method for bivrp Objects

Description Usage Arguments Author(s) See Also

View source: R/plot.bivrp.R

Description

Plots the bivariate residual plot with simulation polygons from a bivrp object

Usage

1
2
3
4
5
## S3 method for class 'bivrp'
plot(x, kernel, superpose.points, chp, add.dplots, 
     theta.sort, add.polygon, reduce.polygon, one.dim, pch = 16, cex = 0.8, 
     conf, xlab, ylab, main, point.col, point.pch, transparent.colors,
     density.bw, ...)

Arguments

x

object of class bivrp

kernel

logical. If TRUE, instead of using polygons for each point, computes 2d kernels and plots the contours

superpose.points

only used if kernel or chp is TRUE. Logical argument, if TRUE, plots all simulated bivariate diagnostics

chp

logical. If TRUE, instead of using polygons for each point, performs convex hull peeling over all simulated points

add.dplots

logical. If TRUE, adds the marginal density plots

theta.sort

logical. If TRUE, produces a simulated polygon for each point

add.polygon

logical. If TRUE, plots the simulated polygons as well

reduce.polygon

method used to reduce the polygon area. Defaults to proportional, see get_newpolygon for details. If reduce.polygon = "peel", performs convex hull peeling to reduce the area; if reduce.polygon = "bag", computes a (conf * 100)% bagplot of the points

one.dim

logical. If TRUE, plots only the marginal density plots (only works with theta.sort = FALSE)

pch

argument passed to par

cex

argument passed to par

conf

confidence level of the simulated polygons. Default is 0.95

xlab

argument passed to par

ylab

argument passed to par

main

argument passed to par

point.col

a vector of length 2 with the colors of the points that are inside and outside of the simulated polygons

point.pch

a vector of length 2 with the point characters of the points that are inside and outside of the simulated polygons

transparent.colors

logical. If TRUE, adds transparency to the marginal density plots; if FALSE, only the border lines are drawn

density.bw

the smoothing bandwidth to be used for the marginal densities. Defaults to "SJ" (see density)

...

further arguments passed to par

Author(s)

Rafael A. Moral <rafael_moral@yahoo.com.br> and John Hinde

See Also

bivrp


bivrp documentation built on April 1, 2020, 5:11 p.m.