Learn R Programming

LSD (version 2.0)

ellipsescatter: Ellipsescatter

Description

Scatterplot with the ability to color certain groups of points and draw ellipses assuming gaussian distributions.

Usage

ellipsescatter(x, y, groups, colors = NULL, bgcol = "darkgrey", scalesd = 1, level = 0.75, location = "topright", ...)

Arguments

x
x-vector
y
y-vector
groups
list of vectors to plot as groups
colors
colors corresponding to groups
bgcol
color of points
scalesd
scale parameter for standard deviations
level
the confidence level of a pairwise confidence region
location
location of the added legend
...
additional parameters to be passed to points and plot

See Also

LSD.demo.tour

Examples

Run this code
demo.ellipsescatter()

Run the code above in your browser using DataLab