spatial.outlier {depth.plot} | R Documentation |

## Multivariate Spatial Outlier

### Description

`spatial.outlier`

is used to find the multivariate spatial outlier within a p-variate data cloud or to identify if any p-variate observation is an outlier with respect to a p-variate data cloud.

### Usage

```
spatial.outlier(data, x = data, threshold = 0.05)
```

### Arguments

`data` |
A matrix or a data.frame of p-variate observations which works as the data cloud. |

`x` |
A matrix or a data.framep-variate to test whether is an outlier with respect to the |

`threshold` |
A decimal threshold between |

### Value

`FALSE`

:: If there doesnot exist any outlier

A list with objects (If outliers exist)

`index`

:: Returns the indices of the outliers

`observation`

:: Returns the p-variate outliers

### Author(s)

Somedip Karmakar <somedip@yahoo.co.in>

Omker Mahalanobish <omker.scorpio@gmail.com>

### Examples

```
u<-matrix(rnorm(60,0,1),ncol=3)
u0<-matrix(runif(9,3,4),ncol=3)
spatial.outlier(u,rbind(u,u0))
```

*depth.plot*version 0.1 Index]