colSums,EList-method {psichomics} | R Documentation

## Sum columns using an `EList-class` object

### Description

Sum columns using an `EList-class` object

### Usage

    ## S4 method for signature 'EList'
    colSums(x, na.rm = FALSE, dims = 1)

### Arguments

`x` | an array of two or more dimensions, containing numeric, complex, integer or logical values, or a numeric data frame. For `.colSums()` etc, a numeric, integer or logical matrix (or vector of length `m * n`).
`na.rm` | logical. Should missing values (including `NaN`) be omitted from the calculations?
`dims` | integer: Which dimensions are regarded as ‘rows’ or ‘columns’ to sum over. For `row*`, the sum or mean is over dimensions `dims+1, ...`; for `col*` it is over dimensions `1:dims`.

### Value

Numeric vector with the sum of the columns

[Package psichomics version 1.8.2 Index]