%0 Generic %A N. Meynard, Christine %A Quinn, J. F. %D 2016 %T Supplement 1. Script with R code for statistical analysis. %U https://wiley.figshare.com/articles/dataset/Supplement_1_Script_with_R_code_for_statistical_analysis_/3529160 %R 10.6084/m9.figshare.3529160.v1 %2 https://ndownloader.figshare.com/files/5601107 %2 https://ndownloader.figshare.com/files/5601110 %K diversity %K richness %K turnover rates %K metacommunity %K area effect %K temperate forest %K Patagonia %K vegetation structure %K dissimilarity %K species sorting %K Environmental Science %K Ecology %X

File List

ScriptMeynard&Quinn.R -- Annotated R code.

Description

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.

%I Wiley