Hey, I have a with data.frame with returns from a couple of stocks, I want them to all start a the same point and move with the return of the stock, so that it's possible to compare stock even though the price difference is big. For example Amazon and Netflix, Amazon is priced at 1 785 USD and Netflix 291 USD, but in the last 10 years. Amazon have risen 2 000% and netflix 4 000%, and I want to put them in the same plot. along with around 20 other stocks
my data set looks like this:
AMZN.RETURN NFLX.RETURN
2009-11-02 NA NA
2009-11-03 -0.003954839 -0.0009293867
2009-11-04 -0.010729112 0.0076279818
2009-11-05 0.029974407 0.0411743715
2009-11-06 0.046347699 -0.0093989174
2009-11-09 0.003724255 0.0239885965
its goes on for 10 years, but this is the top.