suppose you invest 1$ in the end of December 1933 in each asset and hold it until end of December 2019. Make a plot which shows how your initial investment of 1$ evolves over time.
  #plotting log of treasury bills
TBS2_dates <- TBS2[,1]
log_ret_treasury <- cbind(TBS2_dates, ret_treasury[,4])
plot(log_ret_treasury,  type="l",
     xlab = "monthly obs", ylab = "Rate of return in decimals, ex. (0.01 = 1%", 
     main = "monthly rate of return on the US Treasury Bills 3months 1934-2019")
#plotting log index
IND_dates <- IND[,3]
log_ret_index <- cbind(IND_dates, ret_index[,1])
plot(log_ret_index, type="l",
     xlab = "monthly obs", ylab = "Rate of return in decimals, ex. (0.01 = 1%",
     main = "monthly rate of return on US stock index 1934-2020")
how do i make a plot of my 1$ investment in both of these plots? Thanks for any help ^^
> dput(head(log_ret_index))
structure(list(date = structure(c(-13119, -13091, -13060, -13030, 
-12999, -12969), class = "Date"), `ret_index[, 1]` = c(0.119363119998702, 
-0.0245867931894417, 0.00441523847340962, -0.0185153561852664, 
-0.0750177705101481, 0.0250281660421121)), row.names = c(NA, 
6L), class = "data.frame")

 
    