Learn R Programming

climtrends (version 1.0.6)

PlotSeriesAndRefSimple: Plot a series and one or more reference series

Description

PlotSeriesAndRefSimple plot a series and one or more reference series. Similar to Anclim's "Analyzing Plot Series".

Usage

PlotSeriesAndRefSimple(dataYearSeries=NA,refYearSeries=NA)

Arguments

dataYearSeries
dataframe with climate data
refYearSeries
dataframe with climate data (reference)

Value

none.

Examples

Run this code
setwd(system.file('extdata/', package='climtrends'))
fm1<-read.delim('c_Casl_3.txt',sep='',header=FALSE)
fmRef <- read.delim('c_casl_O_3_REF.TXT',sep='',header=FALSE)
PlotSeriesAndRefSimple(fm1[,c(1,12)],fmRef[,c(1,12)])

Run the code above in your browser using DataLab