Data and R code supporting "Uncovering state-dependent relationships in shallow lakes using Bayesian latent variable regression"
Loading...
Persistent link to this item
Statistics
View StatisticsCollection period
2009
2011
2011
Date completed
2015
Date updated
Time period coverage
Geographic coverage
Source information
Journal Title
Journal ISSN
Volume Title
Title
Data and R code supporting "Uncovering state-dependent relationships in shallow lakes using Bayesian latent variable regression"
Published Date
2017-10-03
Group
Author Contact
Type
Dataset
Field Study Data
Programming Software Code
Simulation Data
Field Study Data
Programming Software Code
Simulation Data
Abstract
This repository contains the data and R code used to conduct the analyses in the article "Uncovering state-dependent relationships in shallow lakes using Bayesian latent variable regression" in Ecological Applications.
Description
Detailed descriptions for each of the files can be found in Readme.txt. The R Markdown, data, and script files can be opened using the R user interface, RStudio (RStudio Team 2015). Once all files are downloaded to a single directory, double-click on 'BLR_data_and_Code.Rproj' to open up a new RStudio window, and the working directory will automatically be set to the folder where the project files are located. The rest of the files can be opened from RStudio.
Referenced by
Vitense, K. Hanson, M.A., Herwig, B.R., Zimmer, K.D., & Fieberg, J. (2017). Uncovering state-dependent relationships in shallow lakes using Bayesian latent variable regression. Ecological Applications, 28(2), 309-322.
https://doi.org/10.1002/eap.1645
https://doi.org/10.1002/eap.1645
Related to
Replaces
item.page.isreplacedby
Publisher
Collections
Funding information
item.page.sponsorshipfunderid
item.page.sponsorshipfundingagency
item.page.sponsorshipgrant
Previously Published Citation
Other identifiers
Suggested citation
Vitense, Kelsey; Hanson, Mark A; Herwig, Brian R; Zimmer, Kyle D; Fieberg, John R. (2017). Data and R code supporting "Uncovering state-dependent relationships in shallow lakes using Bayesian latent variable regression". Retrieved from the Data Repository for the University of Minnesota (DRUM), https://doi.org/10.13020/D6408P.
View/Download File
File View/Open
Description
Size
Readme.txt
Detailed file descriptions
(8.53 KB)
BLR_data_and_Code.Rproj
R project file
(218 B)
DNR_Data.csv
Shallow lake data
(10 KB)
BLRapplied_MDNRdata_SingleYear.Rmd
R code to analyze a single year of shallow lake data
(17.22 KB)
BLRapplied_MDNRdata_SingleYear.html
Output for a single year of shallow lake data
(1.01 MB)
DNR_JAGSout2010_10mil_2400thin.rds
Fitted BLR model for year 2010
(43.09 MB)
DNR_JAGSout2010_1mil_240thin_LOO_LINEAR.rds
Fitted linear model for year 2010
(27.44 MB)
BLRapplied_MDNRdata_randomLogist.Rmd
R code for BLR model with random logistic intercepts
(15.44 KB)
BLRapplied_MDNRdata_randomLogist.html
Output for BLR model with random logistic intercepts
(989.88 KB)
DNR_randomLogist_JAGSout_1mil_240thin_LOO.rds
Fitted BLR model with random logistic intercepts
(151.17 MB)
BLRapplied_MDNRdata_randomIntLogistThresh.Rmd
R code for BLR model with random logistic intercepts, random TP/Chla intercepts, random TP thresholds
(18.11 KB)
BLRapplied_MDNRdata_randomIntLogistThresh.html
Output for BLR model with random logistic intercepts, random TP/Chla intercepts, random TP thresholds
(1008.12 KB)
DNR_randomIntLogistThresh_JAGSout_1mil_240thin_LOO.rds
Fitted BLR model with random logistic intercepts, random TP/Chla intercepts, random TP thresholds
(227.35 MB)
Run_Sim_Study.R
R code to run simulation study
(26.48 KB)
SimDatAdd_2sig.R
R code with function to create simulated datasets
(8.74 KB)
TP_equilibria.csv
Steady state values for simulation model
(236.4 KB)
Content distributed via the University Digital Conservancy may be subject to additional license and use restrictions applied by the depositor. By using these files, users agree to the Terms of Use. Materials in the UDC may contain content that is disturbing and/or harmful. For more information, please see our statement on harmful content in digital repositories.