psummary: Parallel summary, inspired by pmax() and pmin().

Description Usage Arguments

Description

Functions of Summary group are all, any, max, min, prod, range, and sum, which reduce a vector into a scalar (except range), thus the name of psummary(). Of course, other FUN can be passed-in, but functions like range() that returns a non-scalar vector result in unpredictable return. For arguments of different size, pmin() and pmax() make fractional recycling and issue warning, but psummary() error since as.data.frame() do not fractionally recycle.

Usage

1
2
3
4
5
6
7
psummary(...)

## S3 method for class 'garray'
psummary(...)

## Default S3 method:
psummary(...)

Arguments

...

Usually in the form psummary(x, y, z, FUN=sum, na.rm=TRUE), alternaitvely psummary(list(x, y, z), FUN=sum, na.rm=TRUE).


garray documentation built on May 1, 2019, 8:47 p.m.