README.md

missInfo

R-CMD-check codecov License CRAN

missInfo package is used to detect daily meteorological station data missing information and interpolate missing values.

Tasklist:

Installation

You can install the released version of missInfo from github with:

devtools::install_github("kongdd/missInfo")

Example

This is a basic example which shows you how to solve a common problem:

library(missInfo)
## basic example code
data("prcp")
data("st840")
r <- interp_main(prcp, st840, smax = 200, verbose = FALSE)
#> [0    ] Detect missing information of original data ...
#> [1.1  ] runing na.approx interpolate ...
#> [1.2  ] Detect missing info after na.approx interpolate ...
#> [2.1.1] runing linear lm interpolate ...
#> [2.1.2] Detect missing info after first lm interpolate ...
#> [2.2.1] runing second linear lm interpolate ...
#> [2.2.2] Detect missing info after second lm interpolate ...
#> [3.1  ] History average interpolate...
#> [3.2  ] Detect missing info after hisavg interpolate ...

气象要素特征值说明 (Illustration of meteorological flags):

References

[1] Dongdong Kong, R package: missing information detect and interpolate, missInfo version 0.1.1, https://github.com/kongdd/missInfo

Acknowledgements

Keep in mind that this repository is released under a GPL-3 license, which permits commercial use but requires that the source code (of derivatives) is always open even if hosted as a web service.



kongdd/MissInfo documentation built on Jan. 14, 2024, 2:22 a.m.