View source: R/quantify.lu.ecors.R
quantify.lu.ecors | R Documentation |
Generate tables of number of pixels of each Land Use class in each reference polygon (site, samples, polygons - as defined in function get.lu.ecors) in each year.
quantify.lu.ecors( x, save.format = "ods", save.metadata = T, spreadsheet.folder = getwd() )
x |
lu.ecors object (from get.lu.ecors). |
save.format |
select save results in "ods" or "RData" format (or both). Set to NULL if you do not want to save files. |
save.metadata |
should save metadadata (txt)? |
spreadsheet.folder |
local folder to save files. |
List with result tables and metadata. If enabled, ods (recomended) or RData files will be saved with result tables an metadata.
#get a lu.ecors class object FAL.IBGE.JBB<-sf::st_read(system.file("extdata/FAL.IBGE.JBB.gpkg", package="ecors")) test.points<-sf::st_read(system.file("extdata/Points_tests.gpkg", package="ecors")) test.plots<-sf::st_read(system.file("extdata/Plots_tests.gpkg", package="ecors")) lu2000_2010<-get.lu.ecors(site=FAL.IBGE.JBB, points=test.points, plots=test.plots, polygons=NULL, id.column=1, projected=F, custom.crs=32723, collection.lu="mapbiomas6", years=c(2000,2010), resolution=30, evaluate="surroundings.samples", buffer1=500, buffer2=1000, buffer3=2000, cumulative.surroundings=F) table2000_2010<-quantify.lu.ecors(x=lu2000_2010, save.format=c("ods"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.