Skip to contents

Doing well in one time/place can compensate for doing poorly elsewhere. Implemented with max(). For binary, this means passing once means passing the aggregated value.

Usage

CompensatingFactor(x, na.rm = TRUE)

Arguments

x

values to aggregate

na.rm

default na.rm = TRUE finds the aggregation ignoring NA, opposite usual na.rm default na.rm = FALSE, which returns NA if there are any NA.

Value

summarised data