rnrfa (version 2.0.3)

plot_rain_flow: Plot rainfall and flow for a given station

Description

This function retrieves rainfall and flow time series for a given catchment, divides the flow by the catchment area and converts it to mm/day to that it can be comparable with the rainfall (mm/month). Finally it generates a plots combining rainfall and flow information.

Usage

plot_rain_flow(id = NULL, rain = NULL, flow = NULL, area = NULL, title = "")

Arguments

id

Station identification number

rain

Rainfall time series, measured in mm/month

flow

Flow time series, measured in m3/s

area

Catchment area in Km2

title

(optional) Plot title

Value

Plot rainfall and flow for a given station

Examples

Run this code
# NOT RUN {
  plot_rain_flow(id = 54090)
# }

Run the code above in your browser using DataCamp Workspace