%0 Generic %A Toms, Judith D. %A Lesperance, Mary L. %D 2016 %T Supplement 1. The Corrigan and the Nile Creek data sets and the S-PLUS functions for fitting the piecewise-regression models used in the paper. %U https://wiley.figshare.com/articles/dataset/Supplement_1_The_Corrigan_and_the_Nile_Creek_data_sets_and_the_S-PLUS_functions_for_fitting_the_piecewise-regression_models_used_in_the_paper_/3522773 %R 10.6084/m9.figshare.3522773.v1 %2 https://wiley.figshare.com/ndownloader/files/5592908 %2 https://wiley.figshare.com/ndownloader/files/5592911 %2 https://wiley.figshare.com/ndownloader/files/5592914 %2 https://wiley.figshare.com/ndownloader/files/5592917 %2 https://wiley.figshare.com/ndownloader/files/5592920 %2 https://wiley.figshare.com/ndownloader/files/5592923 %K piecewise regression %K edge effects %K change-point regression %K bootstrapping %K forest understory community (Vancouver Island) %K principal components analysis %K plant community %K segmented regression %K Environmental Science %K Ecology %X

File List

All files at once

pw_regression.zip

Data files

corrigan_data.txt - tab-delimited ASCII file of presence/absence data at the Corrigan site.

nile_creek_data.txt - tab-delimited ASCII file of presence/absence data at the Nile Creek site.

S-PLUS files

pwreg_fns.txt - ASCII file of S-PLUS functions for fitting the piecewise regression models

fn_calls.txt - ASCII file of example function calls (will recreate most of the results in the paper)

Description

The files corrigan_data.txt and nile_creek_data.txt are tab-delimited ASCII files of the data used. Tree species are split into height categories (height >1.3 m, or <1.3 m). In both files, columns 2–13 are from transect #1, columns 14–25 are from transect #2, and columns 26–37 are from transect #3. S-PLUS functions for fitting all piecewise-regression models in the paper (sharp, hyperbolic-tangent, bent-hyperbola, and bent-cable piecewise-regression models) are available in pwreg_fns.txt. The file also contains additional functions for deriving and plotting confidence intervals for an estimate of the breakpoint. Import these functions into a S-PLUS session using the internal S-PLUS function source. The functions are known to work in S-PLUS version 4.5 and 6.1 for Windows. The results for the case study can then be recreated using the commands listed in fn_calls.txt. As written, the function calls assume that the first PCA axis for the Corrigan data has been extracted and called corpapca.df, that the first PCA axis for the Nile Creek data has been extracted and called nilpapca.df, and that a vector of distances from edge has been created and called distance. %I Wiley