Description Usage Arguments Details Value Author(s) See Also Examples
A 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
introduced here.
1 | bboxCheck(bbox)
|
bbox |
A matrix to be checked. |
A valid bbox
matrix is 2x2
, all numeric, and has row
names c('x','y')
and column names c('min','max')
in
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.