Description Usage Arguments Value Examples

`CalcMeanMinrm`

calculates a mean with an enforced minimum valid value.
Read a vector and calculate the mean with all values below
a specified minimum value set to NA (and therefore ignored).

1 | ```
CalcMeanMinrm(x, minValid = -1e+30)
``` |

`x` |
The vector of values. |

`minValid` |
The minimum valid value. |

The mean.

1 2 3 | ```
x <- c(1,2,-1e+20,3)
mean(x) # yields -2.5e+19
CalcMeanMinrm(x, 0) # yields 2
``` |

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.