bbox is not a formal class, but is used often
enough in package sampSurf that a little routine to check for a
valid one is useful. It could have been made a class, but it was not
in the more basic sp and raster packages, and so was not
A matrix to be checked.
bbox matrix is
2x2, all numeric, and has row
c('x','y') and column names
package sampSurf. A check is also made for minima-maxima extents
in the correct sense.
The function returns true if the matrix passes all the checks, otherwise it stops with an error.
Jeffrey H. Gove
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.