This is a generic definition that can be extended according to class. This function and methods should do "deep" copy for archiving purposes.
.addTagsToOutput(object, outputObjects, FUN, preDigestByClass)# S4 method for ANY
.addTagsToOutput(object, outputObjects, FUN, preDigestByClass)
Any R object.
Optional character vector indicating which objects to
return. This is only relevant for simList
objects
A function
A list, usually from .preDigestByClass
New object with tags attached.