Learn R Programming

FlowScreen (version 2.0)

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, title = FALSE, change.margins = TRUE)

Arguments

TS

data.frame of streamflow time series loaded with read.flows.

title

optional plot title. Default is FALSE indicating no plot title is wanted. Set to TRUE to use the the default plot title, which will look for 'plot title' attribute of the data.frame set by set.plot.titles. All values other values will be used as a custom plot title.

change.margins

TRUE or FALSE to indicate whether the user's current margin settings should be used, or if the margins should be set within the function. Default is TRUE, to set margins to the minimal amount.

Author

Jennifer Dierauer and Paul Whitfield

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