Learn R Programming

FlowScreen (version 0.9)

screen.series: Create a plot of the daily streamflow time series

Description

Plots the daily streamflow time series and color codes points by data quality codes if the data are from Water Survey Canada. Also highlights date ranges with missing observations.

Usage

screen.series(TS, StnInfo = NULL, text = "d")

Arguments

TS
output from create.ts containing a data.frame of flow time series
StnInfo
Optional data.frame containing user-supplied station info for plot. data.frame must have 7 columns containing station info in the following order: Station ID, Station Name, Prov/State, Country, Latitude, Longitude, Catchment Area If any of the informa
text
optional character string for margin text, e.g. for station name, location, or other notes. Set to NULL if not margin text is wanted, or set to "d" to use default text containing the station ID, station name, and province/state returned from <

Examples

Run this code
# load flow time series for the Caniapiscau River
data(cania.sub.ts)

# plot daily time series with default margin text
screen.series(cania.sub.ts)

Run the code above in your browser using DataLab