Learn R Programming

scanstatistics (version 1.0.1)

aggregate_per_location: Aggregate (sum) values over all data streams, and cumulatively over time.

Description

Aggregate (sum) values over all data streams, and cumulatively over time.

Usage

aggregate_per_location(A)

Arguments

A

An array with three dimensions. Dimensions are:

Dimension 1

Time, ordered from most recent to most distant.

Dimension 2

Location, enumerated from 1 and up.

Dimension 3

Data stream, enumerated from 1 and up.

Value

A matrix with dim(A)[1] rows and dim(A)[2] columns.