rsplot | R Documentation |
Computes the Ray Shooting depth ISO of a point with respect to a bivariate data set.
rsplot(x, y=NULL, factorsecondbag=2,mring=T,...)
x |
The data as a matrix, data frame or list. If it is a matrix or data frame, then each row is viewed as one bivariate observation. If it is a list, all components must be numerical vectors of equal length (coordinates of observations). |
y |
The data as a matrix, data frame or list. If it is a matrix or data frame, then each row is viewed as one bivariate observation. If it is a list, all components must be numerical vectors of equal length (coordinates of observations). |
factorsecondbag |
Factor for second bag set to 2 by default. |
mring |
Boolean value set to TRUE by default. |
... |
For future use. |
In dimension 2, calculates ray shooting depth of a given point with respect to the point set. Time complexity of the simple algorithms implemented is O(n log n). ISO
Returns with respect to data set pt
, the number of line segments interested by a ray from , minimum over all rays. ISO
Nabil Mustafa, Saurabh Ray, and Mudassir Shabbir.
N. Mustafa, S. Ray, and M. Shabbir, Statistical Data Depth of Pointsets in the Plane,in prep..
rsdepth
## calculation of RS depth z = matrix(rnorm(24),nc=2) x = rsplot(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.