checkIndivTypes {iSPlot} | R Documentation |
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.
checkIndivTypes(datVec, datEle)
datVec |
the column data |
datEle |
the new data element to add |
Returns a boolean - TRUE if the types matched; otherwise, FALSE.
Elizabeth Whalen
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"]]