hm_create | R Documentation |
This function is the constructor of hydromet
class and its subclass.
hm_create(class_name = "station")
class_name |
string with the name of the class. Valid arguments are:
|
An S4 object of class hydromet
.
# 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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.