meltt.episodal {meltt} | R Documentation |
Handling events and episodal data [Auxiliary Function]
Description
Auxiliary function that receives the compilation matrix and systematically subsets events and episodes to deal with differences in event duration. The function passes subsets to meltt.match
to be processed. Output includes a full list of matching events and/or episodes.
Usage
meltt.episodal(data, indexing, priormatches, twindow, spatwindow, smartmatch,
certainty, k, secondary, partial, averaging, weight, silent)
Arguments
data |
object of class data.frame. |
indexing |
list of indices given the entry location of events and episodes in the original input data. |
priormatches |
prior matches (if any) passed as |
twindow |
specification of temporal window in unit days. |
spatwindow |
specification of a spatial window in kilometers. |
smartmatch |
implement matching using all available taxonomy levels. When false, matching will occur only on a specified taxonomy level. Default = TRUE. |
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 |
averaging |
implement averaging of all values events are match on when matching across multiple dataframes. Default = FALSE. |
weight |
relative weight of each taxonomy in the calculation of the matching score. Passed from |
silent |
Boolean specifying whether or not messages are displayed. Passed from |
Details
Internal function that helps manage integration of event and episodal data by easing the transition between the two logics. meltt
algorithm tracks event-to-event matches, episode-to-episode, and event-to-episode matches. meltt.episodal
streamlines the transfer between these matching states.
Author(s)
Karsten Donnay and Eric Dunford.
References
Karsten Donnay, Eric T. Dunford, Erin C. McGrath, David Backer, David E. Cunningham. (2018). "Integrating Conflict Event Data." Journal of Conflict Resolution.