Publications by Noam Ross

A Null Model for Age Effects in Disease with Multiple Infections

11.06.2013

Here’s a little thought exercise I did that has caused me to go back and restart my Sudden Oak Death modeling in a new framework. Feedback welcome. I’m especially interested in relevant literature – I haven’t found many good examples of macroparasite/multiple infection models with age structure. Introduction Cobb et al. (2012) develop two...

9126 sym R (3117 sym/8 pcs) 56 img 1 tbl

The null model for age effects with overdispersed infection

12.06.2013

How does overdispersion of infections affect the behavior of the multiple-infection model? I redefine the model to account for overdispersion, assuming the same overdispersion occurs in both age classes. The parameter varies inversely with the degree of overdispersion. Again, the classes are demographically identical, and infection affects morta...

2837 sym R (3404 sym/5 pcs) 14 img

Dave Harris on Maximum Likelihood Estimation

17.06.2013

At our last Davis R Users’ Group meeting of the quarter, Dave Harris gave a talk on how to use the bbmle package to fit mechanistic models to ecological data. Here’s his script, which I ran throgh the spin function in knitr: # Load data library(emdbook) ## Loading required package: MASS Loading required package: lattice library(bbmle) ## L...

7190 sym R (4751 sym/20 pcs) 12 img

Printing R help files in the console or in knitr documents

18.06.2013

Yesterday, I was creating a knitr document based on a script, and was looking for a way to include content from an R help file. The script, which was a teaching document, had a help() command for when the author wanted to refer readers to R documentation. I wanted that text in my final document, though. There’s no standard way to do this in R, ...

1593 sym R (978 sym/3 pcs) 1 tbl

How to format plots for publication using ggplot2 (with some help from Inkscape)

20.11.2013

The following is the code from a presentation made by Rosemary Hartman to the Davis R Users’ Group. I’ve run the code through the spin function in knitr to produce this post. Download the script to walk through here. First, make your plot. I am going to use the data already in R about sleep habits of different animals. It’s the same one Noa...

4628 sym R (5048 sym/26 pcs) 40 img

Ryan Peek on Creating Shiny Apps

28.01.2014

Yesterday at the Davis R User’s Group1, Ryan Peek gave a talk about using the shiny package to create interactive web apps with R. Here are his slides. Ryan includes a bunch of links to examples and tutorials, as well as his own thermohydrographs app: Thanks to Revolution Analytics for another year of sponsorship!↩ Related To leave a comme...

718 sym

Using Dates and Times in R

10.02.2014

Today at the Davis R Users’ Group, Bonnie Dixon gave a tutorial on the various ways to handle dates and times in R. Bonnie provided this great script which walks through essential classes, functions, and packages. Here it is piped through knitr::spin. The original R script can be found as a gist here. Date/time classes Three date/time classes a...

5175 sym R (8124 sym/50 pcs) 2 img

Vectorization in R: Why?

16.04.2014

Here are my notes from a recent talk I gave on vectorization at a Davis R Users’ Group meeting. Thanks to Vince Buffalo, John Myles White, and Hadley Wickham for their input as I was preparing this. Feedback welcome! Beginning R users are often told to “vectorize” their code. Here, I try to explain why vectorization can be advantageous in R...

12257 sym R (428 sym/12 pcs)

What shall we talk about at ESA?

24.07.2014

ESA is just around the corner, and many of us are gearing up and trying to figure out a schedule to cover all the talks and people we can pack in. ESA is a big conference and there’s far too much for any one person to see. In the end, everyone experiences a different part of the elephant. However, I thought it would be interesting to take a loo...

3959 sym 6 img

ESA 2014: Don’t Know Much About History…

05.08.2014

After my last post text-mining ESA Annual Meeting abstracts, Nash Turley was interested in the presence of the term “natural history” in ESA abstracts. I decided to collect a little more data by including programs back to 2010, giving a five-year data set. Thankfully the program back to 2010 remains in mostly the same format, so it’s easy t...

2824 sym 6 img 1 tbl