plus-.cmf: Combine the results of multiple cmf objects into one

+.cmfR Documentation

Combine the results of multiple cmf objects into one

Description

This function combines two cmf objects and returns one cmf object with the combined results. This helps with combining results done over multiple runs, for example in high-performance computing.

Usage

## S3 method for class 'cmf'
x + y

Arguments

x

a cmf object

y

a cmf object

Value

a cmf object with combined results

Examples

# generate some data
dat <- generateMed(a = (1:10)/20, b = (1:10)/20)
# create two different cmf objects on this data
res_1 <- cmf(dat, nStarts = 500)
res_2 <- cmf(dat, nStarts = 500)
# Combine the results using the + operator
res_1 + res_2


vankesteren/cmfilter documentation built on April 6, 2023, 3:40 a.m.