powered by
as.table is an implementation of function base::table for values of raster image.
as.table
base::table
# S3 method for ursaRaster as.table(x, ...)ursa_table(x, ...)
ursa_table(x, ...)
ursaRaster object.
ursaRaster
Other arguments which passed to function table of package base.
table
Object of class table.
If ursaRaster has a colortable, then values are replaced by names of categories.
colortable
ursa_table is synonym to method as.table for class `ursaRaster`.
ursa_table
`ursaRaster`
# NOT RUN { session_grid(NULL) a <- colorize(pixelsize(),nbreak=4) t1 <- as.table(a) print(t1) str(t1) ursa_colortable(a) <- NULL t2 <- as.table(a) print(t2) # }
Run the code above in your browser using DataLab