Code Monkey home page Code Monkey logo

laketrophicmodelling's Introduction

LakeTrophicModelling

DOI

Citation for published paper:

Hollister, J. W., W. B . Milstead, B. J. Kreakie. (2016). Modeling Lake Trophic State: A Random Forest Approach. Ecosphere 7:3 10.1002/ecs2.1321.

This repository contains all the materials needed to reproduce Hollister et al. (2015) Modeling Lake Trophic State: A Random Forest Approach. These materials are presented as an R Package which contains code used for analyses, code used to develop figures, raw data used for all analysese, and a package vignette that contains the accepted, unformatted version of the manuscript.

#Install the Package To install the package and gain access to the materials do the following:

install.packages("devtools")
library("devtools")
install_github("USEPA/LakeTrophicModelling")
library("LakeTrophicModelling")

All the data used in this manuscript are available via:

data(LakeTrophicModelling)

And the manuscript vignette can be read via: NOTE:Not currently (3/30/15) available...

vignette("manuscript",package="LakeTrophicModelling")

#EPA Disclaimer The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity , confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.

#Thanks The inspiration for housing this manuscript entierly within a package came from two sources. First, @rmflight has two blog posts about this concept. First post lays out the idea and the second post details the steps to do it. Second is @cboettig's template package.

For this I have decided to house the manuscript as a vignette, but build the vignette using the @cboettig's Rmd and latex templates.

laketrophicmodelling's People

Contributors

jaorquina avatar jhollist avatar jsta avatar katrinleinweber avatar willbmisled avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laketrophicmodelling's Issues

DOI?

Would it be possible for you to deposit this repo at zenodo or figshare or similar so it can get a DOI? I want to cite it in a paper (as a shining example of using R pkgs as research compendia) and would prefer to have a DOI specifically for this repo (rather than the publication) for the authoritative version of the code. Thanks!

not an issue, but ...

You can replace the first page of your code (loading packages) with pacman::p_load.

E.g. pacman::p_load("dplyr", "ggplot2", "lubridate").
The packages will be installed if they are not available.

Last two things

  • Get sessionInfo() working
  • Clean up Table 4. Hard to read now.

Abstract Reproducibility

Play around with pandoc template and abstract placement.

See if you can place abstract at end of Rmd and have it render up front in final pdf by using \begin{abstract}\end{abstract}.

If this works you can create abstract after all code chunks and use objects created in those within the body of the abstract.

My final suggestions

Review and delete my notes in the body of the text

  • Figure 1: color code dots by Trophic State?
  • Figures 4 & 7: add ug/l to the y-label or mention in caption. What about the units on the X axis. Alternatively, all units could be specified in the appendix.
  • Figures 7 and 13-need to add the names of the ecoregions since they are mentioned in the text. Alternatively they could be shown in a new table or in the body of text.
  • Figures 8 & 9: need legend or specify in caption All Var=Red and GIS=Black
  • Figure 9: is the Y axis label term "conditional total accuracy" defined in the text?
  • Figure 10: the subpanels (maps),need to be larger. Consider using the same color scale for all and Figure 11 also.
  • Table 1: add ug/l to the column heading "concentration cut-off"
  • Tables 2 & 3 add the "Predicted" over column labels and "Observed" next to row labels.
  • Appendix: add units and summary stats column-Mean and SE if not more.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.