mean: mean function with na.rm = TRUE

View source: R/mean.R

meanR Documentation

mean function with na.rm = TRUE

Description

Modifies nonsensical default behavior of the mean function with respect to NA

Usage

mean(x, ..., na.rm = TRUE)

Arguments

x

a number

Examples

mean(c(1,2,3,NA))

andrew-griffen/griffen documentation built on April 24, 2024, 6:06 p.m.