Retrieves or defines the row sums (before closure).

## Usage

get_totals(x)

set_totals(x) <- value

# S4 method for CompositionMatrix
get_totals(x)

# S4 method for CompositionMatrix
set_totals(x) <- value

## Arguments

x

An object from which to get or set totals.

value

A possible value for the totals of x.

## Value

• set_totals() returns an object of the same sort as x with the new row sums assigned.

• get_totals() returns the row sums of x.

Other mutators: groups, samples, subset()