R: rowsum for arrays

rowsum,array-method {arrayhelpers} | R Documentation

## rowsum for arrays

### Description

This function extends the base function `rowsum`.

### Usage

    ## S4 method for signature 'array'
    rowsum(x, group, reorder = TRUE, na.rm = FALSE, ...)

### Arguments

`x` | array to be `rowsum`med
`group` | grouping variable (integer or factor) indicating groups of samples.
`reorder` | should the groups be ordered? see `rowsum`
`na.rm` | shoud `NA`s be removed?
`...` | ignored

### Value

like `rowsum`, but further dimensions of the array are preserved.

### Author(s)

Claudia Beleites

### See Also

`rowsum`

[Package arrayhelpers version 1.0-20160527 Index]