Here's how to decompose a time series in R using the stl model and plot the decomposition plot using autoplot:
main.r211 chars12 lines
This will give you a plot that shows the time series, the trend, seasonal component, and the remainder component.
gistlibby LogSnag