- Notifications
You must be signed in to change notification settings - Fork0
License
Unknown, MIT licenses found
Licenses found
Unknown
LICENSEMIT
LICENSE.mdNotificationsYou must be signed in to change notification settings
PPaccioretti/paar
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The goal ofpaar is to provide useful functions for precisionagriculture spatial data depuration.
You can install the released version of paar fromCRAN with (not-yet):
# install.packages("paar")You can install the development version fromGitHub with:
# install.packages("devtools")devtools::install_github("PPaccioretti/paar")
The package has a complete protocol for automating error removal.Default values of all functions are optimized for precision agriculturaldata.
library(paar)library(sf)#> Warning: package 'sf' was built under R version 4.3.3data("barley",package='paar')
barley data contains barley grain yield which were obtained usingcalibrated commercial yield monitors, mounted on combines equipped withDGPS.
#Convert barley data to an spatial objectbarley_sf<- st_as_sf(barley,coords= c("X","Y"),crs=32720)barley_dep<- depurate(barley_sf,"Yield")#> Concave hull algorithm is computed with#> concavity = 2 and length_threshold = 0# Summary of depurated datasummary(barley_dep)#> normal point border spatial outlier MP spatial outlier LM#> 5673 (77%) 964 (13%) 343 (4.6%) 309 (4.2%)#> global min outlier#> 99 (1.3%) 6 (0.081%)
Spatial yield values before and after depuration process can be plotted
plot(barley_sf["Yield"],main="Before depuration")plot(barley_dep$depurated_data["Yield"],main="After depuration")
Also distribution of yield values can be plotted
boxplot(barley_sf[["Yield"]],main="Before depuration")boxplot(barley_dep$depurated_data[["Yield"]],main="After depuration")
- Vega, A., Córdoba, M., Castro-Franco, M. et al. (2019). Protocol forautomating error removal from yield maps. Precision Agric 20,1030–1044https://doi.org/10.1007/s11119-018-09632-8
- Paccioretti, P., Córdoba, M., & Balzarini, M. (2020). FastMapping:Software to create field maps and identify management zones inprecision agriculture. Computers and Electronics in Agriculture, 175,105556https://doi.org/10.1016/j.compag.2020.105556.
About
Resources
License
Unknown, MIT licenses found
Licenses found
Unknown
LICENSEMIT
LICENSE.mdUh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.




