Learn R Programming

DepthProc (version 2.1.5)

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

Description

Binning 2d

Usage

# S4 method for 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
# NOT RUN {
tmp <- binningDepth2D(x = mvrnorm(100, rep(0, 2), diag(2)))
plot(tmp)

# }

Run the code above in your browser using DataLab