naMean: Wrapper function for the arithmetic mean

Description Usage Arguments Value Examples

View source: R/reb.R

Description

Simple call to mean with the na.rm option set to TRUE.

Usage

1
naMean(x)

Arguments

x

An R object

Value

The arithmetic mean of the values in x.

Examples

1
2
  mean(c(1,2,3,NA),na.rm=TRUE)
  naMean(c(1,2,3,NA))

reb documentation built on April 28, 2020, 8:35 p.m.