Learn R Programming

reproducible (version 1.1.1)

.addTagsToOutput: Add tags to object

Description

This is a generic definition that can be extended according to class. This function and methods should do "deep" copy for archiving purposes.

Usage

.addTagsToOutput(object, outputObjects, FUN, preDigestByClass)

# S4 method for ANY .addTagsToOutput(object, outputObjects, FUN, preDigestByClass)

Arguments

object

Any R object.

outputObjects

Optional character vector indicating which objects to return. This is only relevant for list, environment (or similar) objects

FUN

A function

preDigestByClass

A list, usually from .preDigestByClass

Value

New object with tags attached.