Learn R Programming

optmatch (version 0.9-10)

update.optmatch: Performs an update on an optmatch object.

Description

NB: THIS CODE IS CURRENTLY VERY MUCH ALPHA AND SOMEWHAT UNTESTED, ESPECIALLY CALLING update ON AN OPTMATCH OBJECT CREATED WITHOUT AN EXPLICIT DISTANCE ARGUMENT.

Usage

# S3 method for optmatch
update(optmatch, ..., evaluate = TRUE)

Arguments

optmatch

Optmatch object to update.

...

Additional arguments to the call, or arguments with changed values.

evaluate

If true evaluate the new call else return the call.

Value

An updated optmatch object.

Details

Note that passing data again is strongly recommended. A warning will be printed if the hash of the data used to generate the optmatch object differs from the hash of the new data.