Plot observed and imputed time-series for a single cross-section
Plots a time series for a given variable in a given cross-section and provides confidence intervals for the imputed values.
tscsPlot(output, var, cs, draws = 100, conf = .90, misscol = "red", obscol = "black", xlab, ylab, main, pch, ylim, xlim, frontend = FALSE, plotall=FALSE, nr, nc, pdfstub, ...)
output from the function
the column number or variable name of the variable to plot.
the name (or level) of the cross-sectional unit to plot. Maybe a vector of names which will panel a window of plots
the number of imputations on which to base the confidence intervals.
the confidence level of the confidence intervals to plot for the imputated values.
the color of the imputed values and their confidence intervals.
the color of the points for observed units.
various graphical parameters.
a logical value for use with the
a logical value that provides a shortcut for ploting all unique values of the level. A shortcut for the
csargument, a TRUE value overwrites any
the number of rows of plots to use when ploting multiple cross-sectional units. The default value will try to minimize this value to create a roughly square representation, up to a value of four. If all plots do not fit on the window, a new window will be started.
the number of columns of plots to use. See
a stub string used to write pdf copies of each window created by the plot. The default is not to write pdf output, but any string value will turn on pdf output to the local working directory. If the stub is
mystub, then plots will be saved as
further graphical parameters for the plot.
cs argument should be a value from the variable set to the
cs argument in the
amelia function for this output. This
function will not work if the
cs arguments were
not set in the
amelia function. If an observation has been
tscsPlot will plot both an observed and an imputed