Description Usage Arguments Value Functions Examples
This method can do both: test homogeneity in precipitation series or fill data gaps using regional analysis.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | precip_hydroMet(
obj,
col_target = 2,
fill = FALSE,
method = "spearman",
min_value = 0.2
)
## S4 method for signature 'hydroMet_compact'
precip_hydroMet(
obj,
col_target = 2,
fill = FALSE,
method = "spearman",
min_value = 0.2
)
|
obj |
an |
col_target |
numeric. The column number of the target series (either to test homogeneity or to fill gaps) in |
fill |
logical. By default value ( |
method |
string (default is |
min_value |
numeric. Series with a correlation value less than |
If fill = FALSE
the method will return a list with three elements: a data frame with all necessary values to correct your target serie, a plot with p-values
and the correlation matrix. When fill = TRUE
the list will contain: the data frame with the target series gaps filled and the correlation matrix.
precip_hydroMet,hydroMet_compact-method
: homogeneity test applied to precipitation data stored in compact
class.
1 2 3 4 5 | # Load daily precipitation data-set from BDHI
load( paste0(system.file('extdata', package = "hydroToolkit"), '/bdhi_p.rda') )
# Fill gaps in Tupungato station
relleno <- precip_hydroMet(obj = bdhi_p, col_target = 5, fill = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.