Learn R Programming

FlowScreen (version 1.2.6)

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 information is unavailabe, fill with NA. The Station ID column must match the Station ID in column 1 of the data.frame input from create.ts.

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 station.info.

Examples

Run this code
# NOT RUN {
# 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