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

Description Usage Arguments See Also Examples

Description

Binning 2d

Usage

1
2
3
## S4 method for signature '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.

...

Arguments to be passed to methods, such as graphical parameters (see par). Many methods will accept the following arguments:

type

what type of plot should be drawn. Possible types are

  • "p" for points,

  • "l" for lines,

  • "b" for both,

  • "c" for the lines part alone of "b",

  • "o" for both ‘overplotted’,

  • "h" for ‘histogram’ like (or ‘high-density’) vertical lines,

  • "s" for stair steps,

  • "S" for other steps, see ‘Details’ below,

  • "n" for no plotting.

All other types give a warning or an error; using, e.g., type = "punkte" being equivalent to type = "p" for S compatibility. Note that some methods, e.g. plot.factor, do not accept this.

main

an overall title for the plot: see title.

sub

a sub title for the plot: see title.

xlab

a title for the x axis: see title.

ylab

a title for the y axis: see title.

asp

the y/x aspect ratio, see plot.window.

See Also

depth

Examples

1
2
3
require(MASS)
 tmp = binningDepth2D(x = mvrnorm(100,rep(0,2),diag(2)))
 plot(tmp)

depthproc documentation built on May 2, 2019, 5:46 p.m.