checkIfPlotted {iSPlot}R Documentation

Check if Data set has Views

Description

When adding a data set to dataEnv, checkIfPlotted checks if that data already has views that depend on it. If the newly added data already has views, then the views need to be updated. This occurs when the data is reset.

Usage

checkIfPlotted(dataName)

Arguments

dataName the name of the data set

Author(s)

Elizabeth Whalen

See Also

gAddDataMessage-class,

Examples

  if (interactive())
  {
    createControlWindow()
    # should load data through Open Data or Open File under the File menu
    data("USArrests")
    dMessage<-new("gAddDataMessage", data="USArrests")
    # when this message is handled by handleMessage, checkIfPlotted will
    # be called
    handleMessage(dMessage)
    # should activate the Open Data menu item to call this function
    setOpenDView()
  }  

[Package iSPlot version 1.0.3 Index]