rowSums.FileMatrix: Calculates the sum for each row

rowSums.FileMatrixR Documentation

Calculates the sum for each row

Description

Calculates the sum for each row.

Usage

## S3 method for class 'FileMatrix'
rowSums(x, na.rm=FALSE, doCount=FALSE, rows=NULL, columns=NULL, ...)

Arguments

na.rm

If TRUE, NA values are excluded.

doCount

If TRUE, the number of included values are counted and returned as an attribute.

rows

An integer vector of rows for which the sum should be calculated. If NULL, all rows are considered.

columns

An integer vector of columns for which the sum should be calculated. If NULL, all columns are considered.

...

Not used.

Value

Returns a numeric vector.

Author(s)

Henrik Bengtsson

See Also

*rowMeans(). For more information see FileMatrix.


HenrikBengtsson/R.huge documentation built on Jan. 31, 2024, 8:12 a.m.