rstinterval | R Documentation |
Computes the Ray Shooting rings of a bivariate data set.
rstinterval(pt, beta=c(0.90), sampleSize=c(250), M=c(50),clr=FALSE, ...)
pt |
The data as a matrix, data frame or list. If it is a matrix or data frame, then each row is viewed as one multivariate observation. If it is a list, all components must be numerical vectors of equal length (coordinates of observations). Only 2-dimensional data is acceptable in this version. |
beta |
beta is a parameter between 0 and 1 determines the accuracy of the interval. Set to 0.90 by default. |
sampleSize |
Size of the sample data set. |
M |
Size of test data set. |
clr |
Clear the canvas before use or not. Boolean and set to FALSE by default |
... |
Reserved for future use. |
This function creates a two dimension generalization of confidence intervals of data. A bag that contains beta fraction of data points is constructed.
Should not return anything
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
for depth function
## RS median of a two-dimensional data set set.seed(617) zz <- matrix(rnorm(600), nc = 2) rstinterval(zz)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.