Function Argument Lists and missing()

Sometimes it is useful to write a wrapper function for an existing function. In this short example we demonstrate how to grab the list of arguments passed to a function and use it to call another function, taking care of optional arguments with or without default values.   read more …

Posted in R | Leave a comment

MazamaSpatialUtils — Ebola Map Example

The MazamaSpatialUtils package on CRAN has just been updated with additional shape file conversion scripts and location buffering so that points located just outside of polygons (i.e. coastal sites) can still be associated with the nearest neighboring polygon.  This package can now be used as an off-line equivalent for the functionality available at the geonames web service.

In this post I will demonstrate how to use the package to duplicate the kind of high quality maps one sees elsewhere on the internet.

  read more …

Posted in Data Visualization, R | Tagged , , , , | Leave a comment

Installing subversion 1.7.10 on OSX Yosemite

You can’t call me a luddite any more — I finally started upgrading my mid-2010 MacBook Pro with 8GB of RAM to OSX 10.10 — Yosemite. Trickiest thing so far was installing an older version of Subversion. Here are my upgrade steps:   read more …

Posted in Uncategorized | Tagged , , | Comments Off on Installing subversion 1.7.10 on OSX Yosemite

MazamaSpatialUtils Package

Mazama Science has just released its first package on CRAN — MazamaSpatialUtils. Here is the description:

A suite of conversion scripts to create internally standardized spatial polygons dataframes. Utility scripts use these datasets to return values such as country, state, timezone, watershed, etc. associated with a set of longitude/latitude pairs. (They also make cool maps.)

In this post we discuss the reasons for creating this package and provide examples of its use.   read more …

Posted in Data Management, R | Tagged , , , , | Comments Off on MazamaSpatialUtils Package

R Class for Wildfire Scientists

Mazama Science has just finished creating class materials on using R for the AirFire team at the USFS Pacific Wildland Fire Sciences Lab in Seattle, Washington. This team of scientists works on monitoring and modeling wildfire emissions, smoke and air quality. The AirFire team has granted permission to release these class materials to the public in the interest of encouraging scientists in other agencies to experiment with R for their daily work. A detailed syllabus follows.   read more …

Posted in Data Management, Data Visualization, R | Tagged , , , , , , , | 3 Comments