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

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
3
4
.addChangedAttr(object, preDigest, origArguments, ...)

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

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.

Value

The object, modified

Author(s)

Eliot McIntire

Examples

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

PredictiveEcology/reproducible documentation built on Dec. 2, 2019, 10:47 p.m.