P. S. Petraitis and S. R. Dudgeon. 2015. Variation in recruitment and the establishment of alternative community states. Ecology 96:3186–3196. http://dx.doi.org/10.1890/14-2107.1


Supplement

R script and data file for analysis of the effects of scraping, which is presented in Table A8.
Ecological Archives E096-274-S6.

Copyright


Authors
File list (downloads)
Description


Author(s)

P. S. Petraitis
Department of Biology
University of Pennsylvania
Philadelphia, PA 19104-6018, USA
E-mail: [email protected]

S. R. Dudgeon
Department of Biology
California State University
Northridge, CA 91330-8303, USA
E-mail: [email protected]


File list

S6_Scraped_code.R (MD5: dd3a59718627ae7936b1468342d8220a)

S6_Recruit_2011-2012_R_ready.csv (MD5: 8089ab7294a0dd152b5ee585fb11e85a)

Description

S6_Scraped_code.R is the R code to run competing models to examine if scraping is an important predictor of recruitment in 2011 and 2012. Models included scraping and size of clearing as fixed effects and the effects of years, bays, sites nested within bays and all interactions as random effects. Average recruitment from 1997 to 2008 was included as a covariate. Models are hierarchical, that is models lacking a particular main effect would not include interactions involving that effect. Code uses lmer() in the lme4 package and then model.sel() in the MuMIn package to obtain corrected AIC, deltas and AIC weights.

Data file, S6_Recruit_2011-2012_R_ready.csv, is organized in nearly identical manner as S3_Recruit_1997-2008_R_ready.csv in Supplement 3.

Suppl6Table