Skip to contents

The function applies a sum over the margin of an array.

Usage

sum_across_array_dims(my_array, keep = NULL, compartment = NULL)

Arguments

my_array

array to sum.

keep

character vector of which variable / dimension to keep.

compartment

character vector of compartment name.