Learn R Programming

itsmr (version 1.9)

plotc: Plot one or two time series

Description

Plot one or two time series

Usage

plotc(y1, y2 = NULL)

Value

None

Arguments

y1

Data vector (plotted in blue with knots)

y2

Data vector (plotted in red, no knots)

Examples

Run this code
plotc(uspop)
y = trend(uspop,2)
plotc(uspop,y)

Run the code above in your browser using DataLab