Publications by Noam Ross
Exploring Pollen Data
I wrote a few functions to grab data and from the Global Pollen Database: source("~/code/_Pollen/pollendatafuntions.R") ## Loading required package: stratigraph ## Loading required package: grid ## Loading required package: graphics ## Loading required package: stats billys <- getpctAP("billys", plot = TRUE) ## Number of taxa: 105 ## Number of ...
1239 sym R (538 sym/2 pcs) 4 img
An R Users’ Group in Davis
I’m excited to share that we’ve started a new R users’ group at UC Davis! Right now our main purpose is to run weekly 2-hour work/hack sessions where R users can get together to work through problems together. More info here Related To leave a comment for the author, please follow the link and comment on their blog: Noam Ross - R. R-blo...
620 sym
A quick introduction to ggplot()
I gave a short talk today to the [Davis R Users’ Group] about ggplot. This what I presented. Additional resources at the bottom of this post ggplot is an R package for data exploration and producing plots. It produces fantastic-looking graphics and allows one to slice and dice one’s data in many different ways. Comparing with base graphics (T...
3602 sym R (3892 sym/14 pcs) 22 img
Stella Copeland’s Intro to Mixed Models in R
In D-RUG today, Stella Copeland gave a quick introduction to mixed models in R. Here’s the script that she presented: Get the data file for this script here Stella also recommends this paper by Ben Bolker as a quick introduction to the topic. Related To leave a comment for the author, please follow the link and comment on their blog: Noam Ro...
638 sym
Chris Hamm on using plot.new() for better combined plots
At DRUG today, Chris Hamm (email (cahamm at ucdavis dot edu)) showed us an easier way to combine multiple figures into one plot using plot.new, rather than par(mfrow=...) Here’s his script: A Report Generated by knitr # plot.new() [email protected] #I discovered this plotting method when trying to add an inset figure # to a plot # plot.new...
6375 sym R (6146 sym/3 pcs) 10 img
Ryan Peek on Customizing Your R Setup
Ryan Peek showed us how to use an .Rprofile file to customize your R setup. Here are his instructions and script: For Windows To change profile for R, go here: C:\Program Files\R\R-2.15.1\etc (or whatever version you are using) Edit the “Rprofile.site” file Restart R For Macs Create your Rprofile file. -use TextEdit or another editor to cr...
1882 sym R (676 sym/3 pcs)
Exploring GAMs with Rosemary Hartman
Today at Davis R Users’ Group, Rosemary Hartman took us through her work in progress fitting general additive models to organism presence/absence data. Below is her presentation and script. You can get the original script and data here Also, check the comments below for some discussion of other options for this type of analysis, such as boosted...
772 sym R (39490 sym/3 pcs) 12 img
Simulating Sudden Oak Death Dynamics
I am working on a project with the Rizzo Lab examining the dynamics of Sudden Oak Death (SOD). I really have to write more about this, but today I’m just going to post the results of an initial exercise. Here I attempt to replicate model results from Cobb et al. (2012). The model in that paper simulates the spread of disease and resulting tree ...
5947 sym R (12139 sym/14 pcs) 18 img
A quick function for editing CSV files in R
I’ve been hunting for a lightweight CSV editor for OSX so I could to make fixes to data files and not need to fire up Excel. While you can edit a CSV file in any text editor, it’s a pain to navigate the files without a spreadsheet-like interface. Unfortunately there doesn’t seem to be a good, free option out there. Today I remembered R has ...
1375 sym R (856 sym/1 pcs)
Lauren Yamane on Matrix Population Models in R
Last week in Davis R Users’ Group, Lauren Yamane showed us how she created and analyzed a stochastic age-structured population in R. Her examples are below. Her original scripts can be found as *.Rmd files here A note to UC Davis students: This topic and others will be covered by Marissa Baskett and Sebastian Schreiber in their course this wint...
1752 sym R (6374 sym/13 pcs) 6 img