cc.max: Maximum with NA Handling

View source: R/functions.r

cc.maxR Documentation

Maximum with NA Handling

Description

Wrapper for max() with na.rm=TRUE by default. Useful for ddply and graphs.

Usage

cc.max(x)

Arguments

x

Numeric vector

Value

Maximum value in the vector, ignoring NA values

Examples

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


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