Category Archives: Guides

Short tutorials and guides

Linking Subplots in R

For the recent Bayesian Analysis workshop, I wanted to created a figure consisting of two subplots, with corresponding features of the two plots linked by lines, as shown below:

Posted in Guides | Comments Off on Linking Subplots in R

BibTeX Styles – Limnology and Oceanography

TR recently drew my attention to the repository of BibTeX style files for automatically formatting bibliographies according to requirements of various journals.

Posted in General Posts, Guides | Comments Off on BibTeX Styles – Limnology and Oceanography

More Mapping

Maps, maps everywhere but not a drop to drink.  Since our recent article on mapping in R, several articles have appeared on mapping techniques in R.

Posted in Guides | Comments Off on More Mapping

Overplot

Overplotting is when one point in a plot obscures another, giving a misleading impression of the density of the data in that area.  Overplot is a common problem for larger data sets, or when the data are discrete.

Posted in General Posts, Guides | Comments Off on Overplot

Sweave and TeXWorks

Sweave is a tool for incorporating R into LaTeX documents.  In essence, you write a LaTeX document that contains R code.  Sweave strips out this code and runs it, and places the results back in the LaTeX document, allowing you … Continue reading

Posted in Guides | Comments Off on Sweave and TeXWorks

Marine Data Literacy

TR has drawn our attention to the Marine Data Literacy site, a collection of resources pertaining to the processing of marine data.

Posted in Guides | Comments Off on Marine Data Literacy

Simple maps in Matlab

A recent article looked at producing simple maps in R. Here’s one way of doing similar things using Matlab.

Posted in Guides | Tagged , , | Comments Off on Simple maps in Matlab

Gibbs Sampling from Hidden Markov Models

A number of students are either currently working with or have been asking about the algorithm to Gibbs sample from a hidden Markov model described in Scott, S.L., 2002. Bayesian Methods for Hidden Markov Models. Journal of the American Statistical … Continue reading

Posted in General Posts, Guides | Comments Off on Gibbs Sampling from Hidden Markov Models

Maps in R

Often you want to display some data in its geographic context.  You can produce a range of simple maps in R with the maps and mapdata packages.

Posted in Guides | Tagged , | Comments Off on Maps in R