Getting Started

The main objectives in producing contoureR, is to make it very easy to contour non-regular data, and, to be able to render this data over a non-regular canvas. In principal it is quite easy to use, but before anything else, we need to install some pre-requisites:

Firstly, if it is not already installed, you will need to install geometry, as this package provides some cornerstone methods to contoureR:

Secondly, I would also suggest to install the highly accomplished ggplot2 package, simply because it’s awesome:

If the above complete without error, let’s proceed to install the contoureR package from repository:

Basic Usage

Now for the fun stuff, in the following snippet, lets contour a mathematical function, and restrict the contours over non-regular (circular) bounding region:

This produces the following output:
ExampleLimitedDomain