Learn R Programming

meltt (version 0.4.3)

meltt.match: Performing iterative comparison and matching [Auxiliary Function]

Description

Auxiliary function that generates an R wrapper around the main python function used to process the numerical matrix generated in meltt. Returns a summary of matched entries.

Usage

meltt.match(data, twindow, spatwindow, smartmatch, certainty, k,
	    secondary, partial, weight, episodal, silent)

Value

Returns a list object containing output of matching entries and a matrix of optimal selected matches.

Arguments

data

numerical matrix passed from meltt.transform.

twindow

specification of temporal window in unit days passed from meltt.

spatwindow

specification of a spatial window in kilometers passed from meltt.

smartmatch

implement matching using all available taxonomy levels. When FALSE, matching will occur only on a specified taxonomy level passed from meltt.

certainty

specification of the the exact taxonomy level to match on when smartmatch = FALSE passed from meltt.

k

number of taxonomies passed from meltt.

secondary

vector of the number of taxonomy levels for each taxonomy passed from meltt.

partial

specifies whether matches along less than the full taxonomy dimensions are permitted. Passed from meltt.

weight

relative weight of each taxonomy in the calculation of the matching score. Passed from meltt.

episodal

boolean for wether normal or episodal matches are performed. Automatically determined and passed from meltt.

silent

Boolean specifying whether or not messages are displayed. Passed from meltt.

Author

Karsten Donnay and Eric Dunford.

Details

Main auxiliary wrapper function that passes the processed data matrix from meltt to the python code used to manage the matching procedure.

References

Karsten Donnay, Eric T. Dunford, Erin C. McGrath, David Backer, David E. Cunningham. (2018). "Integrating Conflict Event Data." Journal of Conflict Resolution.

See Also

meltt