createDataView {iSPlot} | R Documentation

## Create a Spreadsheet of the Data

### Description

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.

### Usage

    createDataView(win, dfName)

### Arguments

`win` | the gtk window
`dfName` | the name of the data

### Value

Returns the new view object of class, spreadView.

### Author(s)

Elizabeth Whalen

### See Also

`createView`, `createPlotView`, `spreadView-class`

### Examples

      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"
      }

[Package iSPlot version 1.0.7 Index]