Script with R code for statistical analysis.
Ecological Archives E089-058-S1.
Authors
File list (downloads)
Description
Christine N. Meynard
Nucleo Cientifico Milenio FORECOS
Instito de Silvicultura, 4 Piso Facultad de Ciencias Forestales
Universidad Austral de Chile
Valdivia, Chile
E-mail: cnmeynard@gmail.comJames F. Quinn
Information Center for the Environment
Department of Environmental Science and Policy
University of California, Davis, CA 95616 USA
E-mail: jfquinn@ucdavis.edu
ScriptMeynard&Quinn.R -- Annotated R code.
This file contains code to replicate the statistical analysis performed in the paper, and comments that will help the reader understand the commands. The file can be opened within any text editor and copied into the R command line. It can also be opened from the R script environment. Testing of spatial autocorrelation on raw variables and residuals from regressions are demonstrated. The correlation matrix to perform the structural equation modeling (SEM) analysis is also provided, as well as code for different SEM analysis using this data.
Required software: R statistical package, and additional libraries spdep and sem.
ESA Publications | Ecological Archives | Permissions | Citation | Contacts