Learn R Programming

grwat (version 0.0.4)

gr_get_params: Get hydrograph separation parameters

Description

The function returns the list of parameters that can be used by gr_separate(). Since the parameters are region-specific, the location must be selected. It can be identified by region name or geographic coordinates. If both are specified, then region have a higher priority

Usage

gr_get_params(reg = "center", lon = NULL, lat = NULL)

Value

List of separation parameters that can be used in gr_separate() function.

Arguments

reg

Character string — the name of the region. Defaults to 'center'.

lon

Numeric value of the longitude. Ignored if reg is specified.

lat

Numeric value of the latitude. Ignored if reg is specified.

Examples

Run this code
library(grwat)

params = gr_get_params(reg = 'center')

print(params)

Run the code above in your browser using DataLab