Supplement 1. The R code for simulating 2-D data with known spectral exponents, sampling, and ANOVA estimation of β.

<h2>File List</h2><blockquote> <p><a href="SynthesiseSpectra2DBetaDetection1000.r">SynthesiseSpectra2DBetaDetection1000.r</a>  -- r code for generating 2D data and determining variance spectra repeatedly from subsamples (<i>n</i> = 1000)</p> </blockquote><h2>Description</h2><blockquote> <p>The SynthesiseSpectra2DBetaDetection1000.r program uses r code to recover spectral exponents from 2D simulated data using repeated hierarchical analysis of variance over a range of nested spatial scales. The method for generating the simulated data using inverse Fourier transforms of 1/<i>f<sup> β</sup></i> weighted random phases and numbers, and the returned <i>β</i>-values are given in <a href="appendix-B.htm">Appendix B</a>.</p> </blockquote>