Description Usage Arguments Details Value See Also Examples
plot_density_contours
generates a 2D density/histogram plot.
1 2 3 4 5 |
x, y |
(vectors) x and y data values (equal length vectors). |
xlim, ylim |
(vectors) The (x, y) limits of the axes (x1, x2), (y1, y2). |
npix |
(integer) use |
prob.levels |
(float) probability levels, e.g. to plot contours enclosing 90% and 95% of the mass on 2D distributions |
plot.dots |
(logical) Plot points outside of outer contour? |
plot.contours |
(logical) Plot the contours? |
plot.image |
(logical) Plot a colour image underneath the contours? |
dot.level |
(integer) draw dots outside of which contour? (1,2,...) |
jittr |
(logical) add 'jitter' to points to reduce overlap. |
col |
(string) colour of the data points. |
pch |
(integer) Plotting 'character', i.e. symbol to use. Same as 'base' graphics. |
cex |
(float) character expansion factor. |
smooth2d |
(logical) use smooth, kernel density estimates, rather than 2D histograms? |
xlab, ylab |
(strings) Labels for x, y axes. |
... |
(anything) any other graphical keywords to be passed to
|
Given vectors x, y
specifying the coordinates of data points,
plot_density_contours
generates a 2D density plot. What is plotted are contours
enclosing specified masses of the distribution, and points outside of the
outermost contour are marked individually. The contours are based on
either a smooth 2D kernel estimate or an a (rough) 2D histogram.
None.
chain_convergence
, contour_matrix
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.