Raw data of species presence/absence and quadrat attributes
R dump file containing raw data, y1: species presence (1) / absence (0) for each quadrat in 1992, y2: species presence (1) /absence (0) for each quadrat in 2014, plot: quadrat attributes (position: 0 for lower slope, 1 for upper slope, slope: slope angles (degree), affect: 0 for not gaps, 1 for gaps created or affected by the mass mortality). Vectors adj, weights and num are spatial data for OpenBUGS.
BUGS code used in the analysis
BUGS code used in the analysis.