Learn R Programming

DepthProc (version 1.0.3)

plot,BinnDepth2d,ANY-method: 2d Binning plot

Description

Binning 2d

Usage

## S3 method for class 'BinnDepth2d,ANY':
plot(x, ..., alpha = 0.1, bg_col = "red",
  add_mid = TRUE)

Arguments

x
object of class BinnDepth2d
...
graphical parameters passed to plot
alpha
alpha value for rgb function
bg_col
backgroud color
add_mid
logical. If TRUE centers of binns will be marked.

See Also

depth

Examples

Run this code
tmp = binningDepth2D(x = mvrnorm(100,rep(0,2),diag(2)))
 plot(tmp)

Run the code above in your browser using DataLab