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

View source: R/optmatchS3.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(object, ...)

Arguments

object

Optmatch object to update.

...

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

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.

To obtain an updated call without performing the actual update, pass an additional evaluate = FALSE argument.

Value

An updated optmatch object.


markmfredrickson/optmatch documentation built on Nov. 24, 2023, 3:38 p.m.