Interactive R-shiny application providing functionality for flexible calibration of soil moisture sensors.
- Get example dataset for calibration via data("data").
- Query metadata to retrieve filtered data frame.
- Perform linear model estimation with standars OLS or MM-type regressor.
- Visualize result.
- Diagnose model fit and identify leverage and outlier points.
First install the package with:
if (!require("devtools")) install.packages("devtools")
install_github("JBrenn/SWCalibrateR")
and then import the library with:
library(SWCalibrateR)
=======
For running the calibration shiny app:
runShinyapp()
The online version of the app can be used as an working example: https://jgbr.shinyapps.io/shiny/
The same version runs with the following code:
shiny::runGitHub('JBrenn/SWCalibrateR', subdir="inst/shiny/", launch.browser = TRUE)
For this application I got inspired by the RStudio shiny gallery and used these code snippets.
R developer of the packages shiny, ggplot2, robustbase, Cairo.