Get the number of rows of a spatial object.
Get the number of rows of a spatial object.
getRows(x, ...) ## S4 method for signature 'ANY' getRows(x) ## S4 method for signature 'geom' getRows(x) ## S4 method for signature 'Raster' getRows(x) ## S4 method for signature 'matrix' getRows(x)
x |
the object from which to get the number of rows. |
... |
other arguments. |
An integer of the number of rows.
getRows(x = gtGeoms$grid$continuous) getRows(x = gtRasters$categorical) getRows(x = matrix(0, 3, 5))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.