checkIndivTypes {iSPlot}R Documentation

Check that new data point matches other data

Description

checkIndivTypes checks that the data being added to a data frame or matrix is of the correct data type to match other elements in the column.

Usage

checkIndivTypes(datVec, datEle)

Arguments

datVec the column data
datEle the new data element to add

Value

Returns a boolean - TRUE if the types matched; otherwise, FALSE.

Author(s)

Elizabeth Whalen

See Also

addColumn, modify

Examples

  data(USArrests)
  loadDFData(USArrests,"USArrests")
  # modify should be called by creating a view and setting the view mode
  # and then interacting with that view
  # modify will call checkIndivTypes
  modify("USArrests","Minnesota","highlit",TRUE)
  # to see the changes
  get("dfList",dataEnv)[["USArrests"]][["curDF"]]

[Package iSPlot version 1.0.3 Index]