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

View source: R/Optmatch.R

update.optmatchR Documentation

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 class '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.

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.

Value

An updated optmatch object.


jgellar/GroupMatch documentation built on Nov. 8, 2022, 10:48 p.m.