Given a set of lat/long locations and a probability cube, retrieve the prob values of each point.
sits_get_probs(cube, samples, window_size = NULL)# S3 method for csv
sits_get_probs(cube, samples, window_size = NULL)
# S3 method for shp
sits_get_probs(cube, samples, window_size = NULL)
# S3 method for sf
sits_get_probs(cube, samples, window_size = NULL)
# S3 method for sits
sits_get_probs(cube, samples, window_size = NULL)
# S3 method for data.frame
sits_get_probs(cube, samples, window_size = NULL)
# S3 method for default
sits_get_probs(cube, samples, window_size = NULL)
A tibble of with columns <longitude, latitude, values> in case no windows are requested and <longitude, latitude, neighbors> in case windows are requested
Probability 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"
Size of window around pixel (optional)
Gilberto Camara