naMean {reb}R Documentation

Wrapper function for the arithmetic mean

Description

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

Usage

naMean(x)

Arguments

x An R object

Value

The arithmetic mean of the values in x.

Examples

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

[Package reb version 1.2.0 Index]