\HeaderA{createSpreadsheet}{Creates an interactive spreadsheet of the data}{createSpreadsheet}
\keyword{device}{createSpreadsheet}
\begin{Description}\relax
The createSpreadsheet function will provide the same functionality as
choosing the View Data menu item from the Display menu on the control
window.  Note that the data must be loaded first before creating a view of
it.  Loading the data can be performed with the loadData or loadFile
functions.  Only the active model (MVC) can be viewed.
\end{Description}
\begin{Usage}
\begin{verbatim}
createSpreadsheet()
\end{verbatim}
\end{Usage}
\begin{Author}\relax
Elizabeth Whalen
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{loadData}{loadData}},
\code{\LinkA{loadFile}{loadFile}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  if (interactive())
  {
    loadData("USArrests")
    setActiveMVC("USArrests")
    createSpreadsheet()
  }
\end{ExampleCode}
\end{Examples}

