Learn R Programming

hadron (version 3.1.2)

addStat.raw_cf: Extend statistics of an existing raw_cf container

Description

Extend statistics of an existing raw_cf container

Usage

addStat.raw_cf(cf1, cf2)

Arguments

cf1

raw_cf container with or without 'data' and 'meta' mixins

cf2

raw_cf container with or without 'data' and 'meta' mixins

Value

An object of S3 class raw_cf identical to the input object but with extended statistics.

Details

When either of cf1 or cf2 does not contain any data, the other object is returned. (allows empty raw_cf to be extended). If the dimensions (except for the measurements) of the data fields of the two containers match, they are concatenated along the measurement dimension.