concat: Concatenate metrosamp objects from continuation runs into a...

Description Usage Arguments Details Value

View source: R/util.R

Description

This function takes metrosamp objects from an initial run and metrosamp objects from a continuation run and combines them into a single metrosamp object for the entire collection of iterations. The arguments can be either two individual metrosamp objects, or two lists of metrosamp objects. In the latter case, the objects are concatenated pairwise to produce a list of objects for the concatenated runs.

Usage

1
concat(mslist1, mslist2)

Arguments

mslist1

First metrosamp object or list of metrosamp objects to concatenate.

mslist2

Second metrosamp object or list of metrosamp objects to concatenate.

Details

Debuggging information from the runs is kept if it is present in both objects; otherwise it is dropped.

The intent of this function is to concatenate runs with subsequent runs that started where the first run left off, but no check is made to ensure that the second run really is a continuation of the first. Concatenating two runs that aren't continuations may result in an error, or in bogus results.

Value

A metrosamp object, or a list of metrosamp objects, representing the concatenated runs.


JGCRI/metrosamp documentation built on Aug. 8, 2019, 10:59 p.m.