Learn R Programming

reproducible (version 1.2.11)

.addChangedAttr: Add an attribute to an object indicating which named elements change

Description

This is a generic definition that can be extended according to class.

Usage

.addChangedAttr(object, preDigest, origArguments, ...)

# S4 method for ANY .addChangedAttr(object, preDigest, origArguments, ...)

Value

The object, modified

Arguments

object

Any R object returned from a function

preDigest

The full, element by element hash of the input arguments to that same function, e.g., from .robustDigest

origArguments

These are the actual arguments (i.e., the values, not the names) that were the source for preDigest

...

Anything passed to methods.

Author

Eliot McIntire

Examples

Run this code
a <- 1
.addChangedAttr(a) # does nothing because default method is just a pass through

Run the code above in your browser using DataLab