evaluate_hru: topHRU - threshold optimization for HRUs in SWAT

Description Usage Arguments Value Examples

View source: R/evaluate_hru.R

Description

topHRU - threshold optimization for HRUs in SWAT

Usage

1
2
evaluate_hru(hru_table, luse_thrs = c(0, 20, 5), soil_thrs = c(0, 20, 5),
  slp_thrs = c(0, 20, 5), thrs_type = c("P", "A"), weight = c(1, 1, 1))

Arguments

hru_table

data.frame with the unaggregated information for the HRUs

luse_thrs

Land use threshold vector with min, max and stepwidth.

soil_thrs

Soil threshold vector with min, max and stepwidth.

slp_thrs

Slope threshold vector with min, max and stepwidth.

thrs_type

Threshold type. All threshold vectors must be given as percentages when set as 'P' or area in ha when set to 'A'.

weight

Weights for land use, soil and slope for the calculation of aREA. Any given numbers will be normalized.

Value

.$result_all: data.frame with the complete results of the analysis.
.$result_nondominated: Results for the non dominated threshold combinations.

Examples

1
2
head(hru_demo)
hru_analysis <- evaluate_hru(hru_table = hru_demo)

michstrauch/TopHRU documentation built on May 22, 2019, 9:56 p.m.