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

Determines a robust range of the data on the basis of the trimmed mean and mean absolute deviation

1 |

`data` |
a vector of data. Missing values are dropped |

`trim` |
trimming proportion |

`fac` |
factor used for expanding the range, see Details |

`na.rm` |
logical: should NAs be removed? If FALSE, result will be NA if there are NAs in 'data'. |

The function determines the trimmed mean `m`

and then the "upper
trimmed mean" `s`

of absolute deviations from m, multiplied by
`fac`

. The robust minimum is then defined as `m-fac*s`

or
`min(data)`

, whichever is larger, and similarly for the maximum.

The robust range.

Werner Stahel, ETH Zurich

1 2 |

regr0 documentation built on May 31, 2017, 2:26 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.