\name{XDemoAutoC}
\alias{XDemoAutoC}
\title{Demostration Autocorrelation Function}
\description{
A R to C interfacing Autocorrelation function, does plots too.
}
\usage{
XDemoAutoC( UseData, OutLength = -999, PlotToggle = FALSE)
}
\arguments{
\item{UseData}{Time series vector input data}
\item{OutLength}{Set's maximum 0...Outlength time lag used in program}
\item{PlotToggle}{Plot upon completion?}
}
\references{ R core development. "Writing R Extentions". 2007. }
\author{Alan Lenarcic, Harvard Statistics Department PhD student}
\keyword{ts}
\keyword{array}
\seealso{ ~ \code{acf} }
\examples{
x = rnorm(30,0,1);
UseData = x + c( 0, .3 * x[1:29]) + c(0,0, .1 * x[1:28]); ## Creates Some Data
XDemoAutoC( UseData, OutLength = 10, PlotToggle = TRUE);
}