Data Science Desktop Survival Guide
by Graham Williams |
|||||
Changing Datasets in Memory |
20180721 Let's make a change to the weather dataset by simply changing a single cell, changing the value of MinTemp (the third variable) for the first observation to 5.
weather[1,3] <- 5
Notice the divergence of the two datasets. They still share a lot in common, and hence only one copy of that data, but where they diverge, they now use different memory locations.
|
ref(weather)
ref(ds)
|