cc.mean: Mean with NA Handling

View source: R/functions.r

cc.meanR Documentation

Mean with NA Handling

Description

Wrapper for mean() with na.rm=TRUE by default

Usage

cc.mean(x)

Arguments

x

Numeric vector

Value

Mean value of the vector, ignoring NA values

Examples

cc.mean(c(1,2,NA,4)) # Returns 2.333...


ccamp83/mu documentation built on Nov. 7, 2024, 5:17 p.m.