Joins metrics results into one contiguous metrics object.

combine_metrics(metrics.list)

Arguments

metrics.list

A list containing any number of colonytrack_metrics objects in any order. These will be merged into one combined colonytrack_metrics object sorted by date. This parameter may also be a character list of filenames pointing to saved RData archives containing the colonytrack_metrics objects.

Value

A colonytrack_metrics object.

Details

This function takes processed results from several calculate_metrics runs and merges them into one colonytrack_metrics object. This allows metrics to be calculated in batches to limit memory usage.

See also