cassava {rPAex}R Documentation

Cassava crop

Description

The image of the cassava crop corresponds to flight 11 recorded by the drone on February 26, 2015 at the International Potato Center, with a multispectral camera. The cultivation area includes 6 plots of 11 x 6 meters. Due to the size of the images, only image 11 was used in rPAex.

Usage

data("cassava")

Format

A data frame with 262056 observations on the following 5 variables.

x

coordinate X, a numeric vector

y

coordinate Y, a numeric vector

L1

Near-Infrared Light (NIR), a numeric vector

L2

Red band, a numeric vector

L3

Green band, a numeric vector

Details

The cassava crop data was built with the TTC_0559_georeferenced.tif image (Loayza, 2018) and the terra package (Hijmans, 2023).

Source

International Potato Center. CIP - Lima Peru. Dataverse CIP.

References

Loayza, Hildo; Silva, Luis; Palacios, Susan; Balcazar, Mario; Quiroz, Roberto, 2018, "Dataset for: Modelling crops using high resolution multispectral images", <doi: 10.21223/P3/UVWVLA>, International Potato Center, V1
Hijmans R (2023). _terra: Spatial Data Analysis. https://CRAN.R-project.org/package=terra

See Also

cropTime, EUsPoint, imageField, borderPoint

Examples

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)
# terra::image(rc) # Image cassava
# to use locator(), fourPoint() and imageField() to generate the cassava data
data(cassava)
# Contains 262056 pixels of 5 centimeters each with multispectral data
r<-terra::rast(cassava,type="xyz")
terra::image(r) # Image cassava

[Package rPAex version 1.0.5 Index]