Record Details

Time-Series Matrix (TSMx): A visualization tool for plotting multiscale temporal trends

Harvard Dataverse (Africa Rice Center, Bioversity International, CCAFS, CIAT, IFPRI, IRRI and WorldFish)

View Archive Info
 
 
Field Value
 
Title Time-Series Matrix (TSMx): A visualization tool for plotting multiscale temporal trends
 
Identifier https://doi.org/10.7910/DVN/ZZDYM9
 
Creator Boumis, Georgios
Peter, Brad
 
Publisher Harvard Dataverse
 
Description Time-Series Matrix (TSMx): A visualization tool for plotting multiscale temporal trends



TSMx is an R script that was developed to facilitate multi-temporal-scale visualizations of time-series data. The script requires only a two-column CSV of years and values to plot the slope of the linear regression line for all possible year combinations from the supplied temporal range. The outputs include a time-series matrix showing slope direction based on the linear regression, slope values plotted with colors indicating magnitude, and results of a Mann-Kendall test. The start year is indicated on the y-axis and the end year is indicated on the x-axis. In the example below, the cell in the top-right corner is the direction of the slope for the temporal range 2001–2019. The red line corresponds with the temporal range 2010–2019 and an arrow is drawn from the cell that represents that range. One cell is highlighted with a black border to demonstrate how to read the chart—that cell represents the slope for the temporal range 2004–2014. This publication entry also includes an excel template that produces the same visualizations without a need to interact with any code, though minor modifications will need to be made to accommodate year ranges other than what is provided.



TSMx for R was developed by Georgios Boumis; TSMx was originally conceptualized and created by Brad G. Peter in Microsoft Excel.



This tool accompanies a publication in preparation by Peter et al. (forthcoming): Peter, B. G., Messina, J. P., Breeze, V., Fung, C., Kapoor, A., and Fan, P. (in prepration) Modifiable spatiotemporal unit problems in remote sensing of agriculture: Evidence from rice production in Vietnam. Journal TBD.




 
Subject Computer and Information Science
Earth and Environmental Sciences
 
Contributor Peter, Brad