create_hydroMet {hydroToolkit}R Documentation

Creates an hydroMet class or subclass.

Description

This function is the constructor of hydroMet class and its subclasses.

Usage

create_hydroMet(class_name = "hydroMet")

Arguments

class_name

string with the name of the class. Valid arguments are: hydroMet, BDHI, CR2, DGI, IANIGLA or compact.

Value

an S4 object of class hydroMet

Examples

# Create class 'hydroMet'
met_station <- create_hydroMet(class_name = 'hydroMet')

# Subclass 'BDHI'
bdhi_station <- create_hydroMet(class_name = 'BDHI')

# Subclass 'DGI'
dgi_station <- create_hydroMet(class_name = 'DGI')

# Subclass 'CR2'
cr2_station <- create_hydroMet(class_name = 'CR2')

# Subclass 'IANIGLA'
ianigla_station <- create_hydroMet(class_name = 'IANIGLA')


[Package hydroToolkit version 0.1.0 Index]