11.1 Recreate Data
To provide us something to save, let us recreate the simple example shown in Section 10.1.
rm(list = ls())
<- 0.05
i <- seq(from = 0, to = 5, by = 0.5)
t <- (1 + i)^t
accum <- c("Zero", "One Half", "One", "One+Half", "Two",
time "Two+Half", "Three", "Three+Half", "Four", "Four+Half", "Five")
<- data.frame(time, t, accum) dat
After you run the code, check in the Global Environment Window to see that 4 variables and the data frame dat.