Description Usage Arguments Details Value Author(s) References See Also Examples

Inflates a convex polygon

1 |

`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). |

`factor` |
An integer by default set to 2. |

`...` |
For future use. |

In dimension 2, inflates a convex polygon

Returns nothing.

Nabil Mustafa, Saurabh Ray, and Mudassir Shabbir.

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

1 2 3 4 | ```
## calculation of centroid of a random pointset
z = matrix(rnorm(24),nc=2)
x = convexhull(z)
y= inflate(x)
``` |

rsdepth documentation built on May 30, 2017, 3:37 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.