rstinterval: Bivariate RS Rings

View source: R/rstinterval.R

rstintervalR Documentation

Bivariate RS Rings

Description

Computes the Ray Shooting rings of a bivariate data set.

Usage

rstinterval(pt, beta=c(0.90), sampleSize=c(250), M=c(50),clr=FALSE, ...)

Arguments

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.

Details

This function creates a two dimension generalization of confidence intervals of data. A bag that contains beta fraction of data points is constructed.

Value

Should not return anything

Author(s)

Nabil Mustafa, Saurabh Ray, and Mudassir Shabbir.

References

N. Mustafa, S. Ray, and M. Shabbir, Statistical Data Depth of Pointsets in the Plane,in prep..

See Also

rsdepth for depth function

Examples

##  RS median of a two-dimensional data set
set.seed(617)
zz <- matrix(rnorm(600), nc = 2)
rstinterval(zz)

rsdepth documentation built on April 25, 2022, 5:05 p.m.

Related to rstinterval in rsdepth...