RegionalisedBFIdominant: Calculate Base Flow Index (BFI) map from soil (HOST) map

View source: R/RegionalisedBFIdominant.R

RegionalisedBFIdominantR Documentation

Calculate Base Flow Index (BFI) map from soil (HOST) map

Description

Calculate Base Flow Index (BFI) map from soil (HOST) map

Usage

RegionalisedBFIdominant(soil, catchment, lookupTable)

Arguments

soil

filename of a raster containing the dominant soil classes (HOST).

catchment

SpatialPolygonsDataFrame containing a single catchment boundary to be used as mask to crop the raster.

lookupTable

A dataframe containing as many rows as the number of soil classes and at least two columns (named "HOSTclass" and "BFIHOST").

Value

Regionalised BFI number for a given catchment, this is in the range [0,1] and is calculated only using dominant soil classes.

Examples

## Not run: 
  # Load Plynlimon sub-catchments spatial polygons data frame
  data("PlynlimonSUBCATCHMENTS")
  # Load soil map (HOST dominant classes)
  data("PlynlimonSOILdominant")
  # Load lookup table
  data("S1")

  bfi <- RegionalisedBFIdominant(soil = PlynlimonSOILdominant,
                         catchment = PlynlimonSUBCATCHMENTS[1,],
                         lookupTable = S1)

## End(Not run)


cvitolo/curvenumber documentation built on April 19, 2022, 3:33 a.m.