Learn R Programming

itsmr (version 1.1)

plotc: Plot one or two time series

Description

Plot one or two time series

Usage

plotc(y1, y2 = NULL)

Arguments

y1
Data vector (plotted in blue with knots)
y2
Data vector (plotted in red, no knots)

Value

  • None

Examples

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

Run the code above in your browser using DataLab