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