Skip to contents

Summary statistics

NA-aware replacements for common summary functions.

mean() sum() prod() sd() var() median() quantile()
NA-aware Summary Functions
weighted.mean()
NA-aware weighted mean

Extrema

NA-aware replacements for min, max, and range functions.

min() max() range() pmax() pmin()
NA-aware Extrema Functions

Logical

NA-aware replacements for logical aggregation.

any() all()
NA-aware Logical Functions

Row-wise

NA-aware row-wise operations.

rowMeans() rowSums()
NA-aware Row-wise Functions

Correlation

NA-aware correlation with pairwise complete observations.

cor()
NA-aware Correlation Function

Table

Table with NA counts shown by default.

table()
NA-aware Table Function