Learn R Programming

mdatools (version 0.14.2)

getConfidenceEllipse: Compute confidence ellipse for a set of points

Description

Compute confidence ellipse for a set of points

Usage

getConfidenceEllipse(points, conf.level = 0.95, n = 100)

Value

matrix with coordinates of the ellipse points (x and y)

Arguments

points

matrix of data frame with coordinates of the points

conf.level

confidence level for the ellipse

n

number of points in the ellipse coordinates