Given a set of lat/long locations and a classified cube, retrieve the class of each point.
sits_get_class(cube, samples)# S3 method for default
sits_get_class(cube, samples)
# S3 method for csv
sits_get_class(cube, samples)
# S3 method for shp
sits_get_class(cube, samples)
# S3 method for sf
sits_get_class(cube, samples)
# S3 method for sits
sits_get_class(cube, samples)
# S3 method for data.frame
sits_get_class(cube, samples)
A tibble of with columns <longitude, latitude, start_date, end_date, label>.
Classified data cube from where data is to be retrieved. (class "class_cube").
Location of the samples to be retrieved. Either a tibble of class "sits", an "sf" object, the name of a shapefile or csv file, or a data.frame with columns "longitude" and "latitude"
Gilberto Camara