Skip to content

R package providing functionality for calibration of soil moisture sensors

Notifications You must be signed in to change notification settings

sdellachiesa/SMCcalibration

 
 

Repository files navigation

=======

SMC calibration

R package providing functionality for calibration of soil moisture sensors.

  • get calibration data via data("SensorVSample")
  • query sites to calibrate and retrieve filtered data frame (CAL_doreg_data)
  • perform linear calibration and visualization (CAL_doreg)
  • interactive shiny app for sensor calibration (how to run see below)

How to start

First install the package with:

install.packages("devtools")
library(devtools)
install_github("GiulioGenova/SMCcalibration")

and then import the library with:

library(SMCcalibration)

=======

For running the calibration shiny app:

library(shiny)

data("SensorVSample")
data <- unique(data[,-8])

shinyApp(ui, server)

An online version of the app is here: https://euracalpenv.shinyapps.io/SWC_Calibration/

The same version runs with the following code:

if (!require("shiny")) install.packages("shiny")

shiny::runGitHub('GiulioGenova/SMCcalibration',subdir="R",launch.browser = TRUE)

For this application I got inspired by the RStudio shiny gallery and used these code snippets.

About

R package providing functionality for calibration of soil moisture sensors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%