hm_create {hydrotoolbox} | R Documentation |
Creates an hydromet object.
Description
This function is the constructor of hydromet
class and its subclass.
Usage
hm_create(class_name = "station")
Arguments
class_name |
string with the name of the class. Valid arguments are:
|
Value
An S4 object of class hydromet
.
Examples
# create class 'hydromet'
hym_metadata <- hm_create(class_name = 'hydromet')
# subclass 'station'
hym_station <- hm_create(class_name = 'station')
# subclass 'compact'
hym_compact <- hm_create(class_name = 'compact')
[Package hydrotoolbox version 1.1.2 Index]