
Last chance! 50% off unlimited learning
Sale ends in
Get the number of rows of a spatial object.
getRows(x, ...)# S4 method for ANY
getRows(x)
# S4 method for geom
getRows(x)
# S4 method for Raster
getRows(x)
# S4 method for matrix
getRows(x)
the object from which to get the number of rows.
other arguments.
An integer of the number of rows.
Other getters:
getCRS()
,
getCols()
,
getExtent()
,
getFeatures()
,
getGroups()
,
getHistory()
,
getLayers()
,
getNames()
,
getPoints()
,
getRes()
,
getType()
,
getWindow()
# NOT RUN {
getRows(x = gtGeoms$grid$continuous)
getRows(x = gtRasters$categorical)
getRows(x = matrix(0, 3, 5))
# }
Run the code above in your browser using DataLab