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

View source: R/ellipseInOut.R

ellipseInOutR Documentation

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

Description

Takes a

Usage

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

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.

Value

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


AndrewLJackson/SIBER documentation built on Oct. 21, 2023, 8:09 a.m.