get_hydroMet {hydroToolkit} | R Documentation |
Get the slot(s) content(s)
Description
Extract the slots that you want from an hydroMet
or hydroMet_XXX
class.
Usage
get_hydroMet(obj, name = NA_character_)
## S4 method for signature 'hydroMet'
get_hydroMet(obj, name = NA_character_)
## S4 method for signature 'hydroMet_BDHI'
get_hydroMet(obj, name = NA_character_)
## S4 method for signature 'hydroMet_DGI'
get_hydroMet(obj, name = NA_character_)
## S4 method for signature 'hydroMet_IANIGLA'
get_hydroMet(obj, name = NA_character_)
## S4 method for signature 'hydroMet_CR2'
get_hydroMet(obj, name = NA_character_)
## S4 method for signature 'hydroMet_compact'
get_hydroMet(obj, name = NA_character_)
Arguments
obj |
an |
name |
a valid single string or vector string with the required slot name(s). |
Value
A list with the slot's data.
Functions
-
get_hydroMet,hydroMet-method
: get method for generic hydroMet object -
get_hydroMet,hydroMet_BDHI-method
: get method for BDHI class -
get_hydroMet,hydroMet_DGI-method
: get method for DGI class -
get_hydroMet,hydroMet_IANIGLA-method
: get method for IANIGLA class -
get_hydroMet,hydroMet_CR2-method
: get method for CR2 class -
get_hydroMet,hydroMet_compact-method
: get method forcompact
class
Examples
# Create an IANIGLA object
cuevas <- create_hydroMet(class_name = 'IANIGLA')
# Extract one of its slots
tair <- get_hydroMet(obj = cuevas, name = 'tair')
[Package hydroToolkit version 0.1.0 Index]