link relative ratio

  1. B

    problem about link relative ratio

    hi I need to compute link relative ratio, i.e, (this year - last year )/ last year . see my example: > myData<-data.frame(year=c(2000,2001,2002,2003,2004),value=c(99,100,110,220,330)) > myData year value 1 2000 99 2 2001 100 3 2002 110 4 2003 220 5 2004 330 I need...