add.ellipse: Add ellipse to an existing plot

Description Usage Arguments Value Author(s)

View source: R/add.ellipse.R

Description

Calculates and plots ellipse corresponding to specified confidence interval in 2-dimensional plot

Usage

1
2
3
4
5
6
7
8
add.ellipse(
  centroid,
  covmat,
  confidence = 0.95,
  npoints = 100,
  col = "black",
  ...
)

Arguments

centroid

Vector with two elements defining the ellipse centroid.

covmat

Covariance matrix for the investigated data. Only diagonal covariances supported.

confidence

Confidence level determining the ellipse borders based on the covariance matrix.

npoints

Number of plotting points.

col

Color.

...

Other arguments to be passed.

Value

Used for plotting side effects.

Author(s)

Leo Lahti leo.lahti@iki.fi


netresponse documentation built on Nov. 8, 2020, 5:04 p.m.