tplot | R Documentation |
tplot
provides a histogram of integrated data that plots the temporal distribution of duplicate and unique entries
tplot(object, time_unit = "months", free_scale = TRUE)
object |
object of class |
time_unit |
character specifying the temporal bin: "days", "weeks", "months", and "years". |
free_scale |
boolean if duplicates should be presented on a different scale from unique entries. A free scale makes it easier to assess the number of duplicate entries and from which input data they emerge, given that there can be relatively few at times. |
tplot
generates a temporal histogram that identifies unique entries after duplicates are removed and a reverse temporal histogram charting the distribution of duplicate entries. The function provides a concise summary of the integration output across the input time period presented in a relevant unit.
Returns a histogram plot where the y-axis is a frequency capturing the total number of events for that time period, and the x-axis is time.
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
, mplot
data(crashMD) output = meltt(crash_data1, crash_data2, crash_data3, taxonomies = crash_taxonomies, twindow = 1, spatwindow = 3) # Free scale tplot(output, time_unit = "days") # Relative scale tplot(output, time_unit = "days", free_scale = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.