library(rPAex)
# Generation of cassava data
# download the TTC_0559_georeferenced.tif image from CIP DATAVERSE repository
# library(terra)
# img = "TTC_0559_georeferenced.tif"
# r<-rast(img)
# e = ext(287688, 287709, 8664174, 8664217)
# rc = crop(r, e)
# cassava = extract(rc,xy="TRUE")
data(cassava)
# Contains 262056 pixels of 5 centimeters each with multispectral data
str(cassava)
Run the code above in your browser using DataLab