Code Monkey home page Code Monkey logo

esm296-3w-2016's Introduction

Environmental Informatics at UCSB Build Status

Fork and clone this repository. Introduce yourself by adding a file per your Github username.json under the _data/ directory. Here's an example for Github username bbest:

// _data/bbest.json
{
	"program": "lecturer",
	"interests": "marine biology, species distribution modeling, spatial decision-making",
	"project": "route ships around marine mammal hot spots"
}

Using the format above, replace with your own program, interests and project idea. Create an Rmarkdown document also with your username under the students folder with more details on your project idea, commit and push the changes, and submit a pull request to the original repository.

Acknowledgements

The content on this site draws extensively from these repositories:

Testing

cd ~/github/ESM296-3W-2016/
bundle exec jekyll serve --baseurl ''
/usr/local/bin/jekyll serve --baseurl ''

esm296-3w-2016's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

esm296-3w-2016's Issues

Using filter() on a column with NA values

For my individual assignment, I'm trying to filter a column that has some NA values to show values that are above a threshold. R comes back with:

sgriff_loadyields %>%

  • select(state:nitrogen) %>%
  • filter(nitrogen >= 1000) %>%
  • summarize(n = n())
    n
    1 0
    Warning message:
    In Ops.factor(c(29L, NA, NA, 34L, NA, 39L, 1L, 4L, 19L, 22L, NA, :
    โ€˜>=โ€™ not meaningful for factors

I've tried many different combos of using na.omit, na.strings"", or na.rm=TRUE, or as.numeric. I don't know how else to filter using this dataset.

Cannot issue New Pull Request

I can click the initial "Submit New Pull Request" button from the env-info page, but the next step, the green button is faded and I cannot click on it. I don't see an open Pull Request in my name. Not sure what the cause of this is!

Thanks!
Elise

Knitting to HTML- week 6 assignment

I've been getting a weird error message whenever I try to knit the individual assignment to HTML. I've been adding eval = F to the beginnings of the Rchunks when needed. When I try knitting my Rmd, I get this message in the console:

output file: wk06_widgets.knit.md
"C:\Users\STEPHA1\AppData\Local\Temp\RtmpGeDzHZ\rmarkdown-str1af44102611a.html" --mathjax --variable "mathjax-url:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --no-highlight --variable "highlightjs=C:\Users\Stephanie\Documents\R\win-library\3.2\rmarkdown\rmd\h\highlight"
pandoc.exe: Could not fetch wk06_widgets/img/minority-report_data-wave.jpg
wk06_widgets/img/minority-report_data-wave.jpg: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 67
In addition: Warning message:
running command '"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS wk06_widgets.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output wk06_widgets.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\Stephanie\Documents\R\win-library\3.2\rmarkdown\rmd\h\default.html" --variable "theme:bootstrap" --include-in-header "C:\Users\STEPHA
1\AppData\Local\Temp\RtmpGeDzHZ\rmarkdown-str1af44102611a.html" --mathjax --variable "mathjax-url:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --no-highlight --variable "highlightjs=C:\Users\Stephanie\Documents\R\win-library\3.2\rmarkdown\rmd\h\highlight"' had status 67
Execution halted

knitting error

My tidyr code seems to work fine, but the kniting process fails when I try to use "gather" code. The error reads:

"Error in eval(expr, envir, enclos): not compatible with STRSXP calls: ... -> select_Vars_ -> combine_vars ->.Call"

any hints? I submitted a pull request so you can look at my code (kboysen.rmd)

Rmd error message (file, "rt")

Receiving the error message when trying to add chunk with a read.csv command. Not sure how else to fix this other than setwd(), but wouldn't that create a problem for anyone opening the file on another computer?

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.