Tag Archives: R

PWFSLSmoke 1.0: Visualizing Wildfire Smoke Data

Mazama Science has released the first official version (1.0) of the PWFSLSmoke R package for working with PM2.5 monitoring data. A beta version was released last year, along with an accompanying blog post. In this post, we discuss the purpose …   read more …

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

Python-style Logging in R

This entry is part 20 of 21 in the series Using R

We are increasingly using R in “operational” settings that require robust error handling and logging. In this post we describe a quick-and-dirty way to get python style multi-level log files by wrapping the futile.logger package.

Posted in R, Toolbox | Tagged , | Comments Off on Python-style Logging in R

When k-means Clustering Fails

This entry is part 19 of 21 in the series Using R

Letting the computer automatically find groupings in data is incredibly powerful and is at the heart of “data mining” and “machine learning”. One of the most widely used methods for clustering data is k-means clustering. Unfortunately, k-means clustering can fail …   read more …

Posted in R | Tagged , , | Comments Off on When k-means Clustering Fails

MazamaSpatialUtils — Ebola Map Example

This entry is part 16 of 21 in the series Using R

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 …   read more …

Posted in Data Visualization, R | Tagged , , , , | Comments Off on MazamaSpatialUtils — Ebola Map Example