Skip to contents

Builds a >- <Reduction> query fragment from a reduction query. Converts each column of a matrix to a single value via the given reduction.

Usage

ReduceToRow(reduction, ...)

Arguments

reduction

A reduction DafrQuery (e.g. Sum(), Mean()), or a piped DafrQuery with the reduction supplied in ....

...

The reduction DafrQuery when reduction holds the piped prior.

Value

A DafrQuery.

See also

Examples

ReduceToRow(Sum())
#> <DafrQuery> >- Sum