| createDataView {iSPlot} | R Documentation |
createDataView is called by createView when the type is "spreadView". createDataView creates a gtk window that contains a spreadsheet of the data from one of the loaded data sets.
createDataView(win, dfName)
win |
the gtk window |
dfName |
the name of the data |
Returns the new view object of class, spreadView.
Elizabeth Whalen
createView,
createPlotView,
spreadView-class
if (interactive())
{
createControlWindow()
# should load data through Open Data or Open File under the File menu
data(USArrests)
loadDFData(USArrests,"USArrests")
# creating the spreadsheet should occur through View Data under
# the Display menu
createView(type="spreadView",dataName="USArrests")
# createView will call createDataView when the type is "spreadView"
}