Learn R Programming

rnrfa (version 0.5.4)

plotRainFlow: 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

plotRainFlow(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: 
#   plotRainFlow(id = 54090)
# ## End(Not run)

Run the code above in your browser using DataLab