Learn R Programming

SIBER (version 2.1.9)

ellipseInOut: Test whether a set of points are inside or outside a defined circle

Description

Takes a

Usage

ellipseInOut(Z, p = 0.95, r = NULL)

Value

A logical vector indicating whether the point is inside or outside the circle

Arguments

Z

the i x d matrix of data points to be tested.

p

the percentile of the ellipse to be tested.

r

a manually defined radius of the circle to be used. Setting r to be anything other than NULL will override the choice of p.