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 May 2, 2018, 3:29 a.m.