Description Usage Arguments Value Functions Examples
This method returns a list with two elements: the first one is a data frame
with miss data (see also report_miss_data) and the second one is also a data frame
with the mean
, sd
, max
and min
values.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | report_hydroMet(
obj,
slot_name,
col_name,
start_date = NULL,
end_date = NULL,
Lang = "spanish"
)
## S4 method for signature 'hydroMet_BDHI'
report_hydroMet(
obj,
slot_name,
col_name,
start_date = NULL,
end_date = NULL,
Lang = "spanish"
)
## S4 method for signature 'hydroMet_CR2'
report_hydroMet(
obj,
slot_name,
col_name,
start_date = NULL,
end_date = NULL,
Lang = "spanish"
)
## S4 method for signature 'hydroMet_DGI'
report_hydroMet(
obj,
slot_name,
col_name,
start_date = NULL,
end_date = NULL,
Lang = "spanish"
)
## S4 method for signature 'hydroMet_IANIGLA'
report_hydroMet(
obj,
slot_name,
col_name,
start_date = NULL,
end_date = NULL,
Lang = "spanish"
)
|
obj |
an |
slot_name |
a single or vector string containing the slot(s) to report. |
col_name |
a single or vector string with the name of the column to report in |
start_date |
optional (default is the first |
end_date |
optional (default is the last |
Lang |
optional (default value is |
A list containing two data frames
: the first one with miss data and the second with the mean
, sd
, max
and min
values of the series.
report_hydroMet,hydroMet_BDHI-method
: report method for BDHI class
report_hydroMet,hydroMet_CR2-method
: report method for CR2 class
report_hydroMet,hydroMet_DGI-method
: report method for DGI class
report_hydroMet,hydroMet_IANIGLA-method
: report method for IANIGLA class
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Create IANIGLA class
cuevas <- create_hydroMet(class_name = 'IANIGLA')
# List with meteorological variables (slots in BDHI's object)
cargar <- list( slotNames(x = 'hydroMet_IANIGLA')[2:11] )
# Assign as names the files
hydro_files <- list.files( system.file('extdata', package = "hydroToolkit"), pattern = 'Cuevas' )
names(cargar) <- hydro_files
# Build met-station
cuevas <- build_hydroMet(obj = cuevas, slot_list = cargar,
path = system.file('extdata', package = "hydroToolkit") )
# Get report
report_hydroMet(obj = cuevas, slot_name = 'kin', col_name = 'kin_1')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.