meltt.match | R Documentation |
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.
meltt.match(data, twindow, spatwindow, smartmatch, certainty, k, secondary, partial, weight, episodal, silent)
data |
numerical matrix passed from |
twindow |
specification of temporal window in unit days passed from |
spatwindow |
specification of a spatial window in kilometers passed from |
smartmatch |
implement matching using all available taxonomy levels. When FALSE, matching will occur only on a specified taxonomy level passed from |
certainty |
specification of the the exact taxonomy level to match on when |
k |
number of taxonomies passed from |
secondary |
vector of the number of taxonomy levels for each taxonomy passed from |
partial |
specifies whether matches along less than the full taxonomy dimensions are permitted. Passed from |
weight |
relative weight of each taxonomy in the calculation of the matching score. Passed from |
episodal |
boolean for wether normal or episodal matches are performed. Automatically determined and passed from |
silent |
Boolean specifying whether or not messages are displayed. Passed from |
Main auxiliary wrapper function that passes the processed data matrix from meltt
to the python code used to manage the matching procedure.
Returns a list object containing output of matching entries and a matrix of optimal selected matches.
meltt.match
requires the Python package NumPy to run. The package automatically checks whether NumPy is installed at runtime and returns an error if it is not.
Karsten Donnay and Eric Dunford.
Karsten Donnay, Eric T. Dunford, Erin C. McGrath, David Backer, David E. Cunningham. (2018). "Integrating Conflict Event Data." Journal of Conflict Resolution.
meltt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.