Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

PPaccioretti/paar

Repository files navigation

R-CMD-checkLifecycle: experimentalR-CMD-check

The goal ofpaar is to provide useful functions for precisionagriculture spatial data depuration.

Installation

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")

Example

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")

References

  • 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
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp