is.grid | R Documentation |
tests to see if x
is a properly formed and internally
consistent grid object
is.grid(x)
x |
An potential grid object to be tested |
TRUE if x is a grid. FALSE otherwise.
g <- asgrid(matrix(1:4, 2, 2), xll = 0, yll =0, cellsize = 10)
is.grid(g) # TRUE
is.grid(matrix(1:4, 2, 2)) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.