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 July 4, 2025, 6:20 p.m.