reset {iSPlot} | R Documentation |
reset removes any changes that have been made to a data set in dfList in dataEnv since the data set was loaded. dfList is the data environment variable the holds the loaded data sets. reset is called by choosing Reset under the Edit menu.
reset(dfName)
dfName |
the dataframe name - a character string |
Removing the changes to the data set is permanent.
Elizabeth Whalen
# should load data through Open Data or Open File under the File menu data(USArrests) loadDFData(USArrests,"USArrests") # should modify using the control window (by choosing the view mode and # then clicking on a plot) modify("USArrests", Rname=c("Massachusetts","Ohio"), Cname=c("color","color"), data=c("red","green")) # to see the results get("dfList",dataEnv)[["USArrests"]][["curDF"]] # should call reset using Reset under the Edit menu reset("USArrests") # to see the results get("dfList",dataEnv)[["USArrests"]][["curDF"]]