addStat.raw_cf: Extend statistics of an existing 'raw_cf' container

View source: R/raw_cf.R

addStat.raw_cfR Documentation

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

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.

Value

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


hadron documentation built on Sept. 9, 2022, 5:06 p.m.