psum: Parallel sum

Description Usage Arguments Examples

View source: R/psum.R

Description

This functin is to sum, what pmin and pmax is to min and max.

Usage

1
psum(..., na.rm = FALSE)

Arguments

...

numeric vectors

na.rm

a logical indicating whether missing values should be removed.

Examples

1
psum(1:10, 1:10, 1:10) 

Example output

 [1]  3  6  9 12 15 18 21 24 27 30

rccmisc documentation built on May 2, 2019, 2:48 p.m.