Displaying 1 result from an estimated 1 matches for "d_final".
Did you mean:
df_final
2012 Jan 13
1
apply transformation
..... (the number of years can be changing in my requirement)
My final output needs to be as follows:
Year 2006 2006-Lbl 2007 2007-Lbl
Jan 0.0204 '2.04%' 0.0065 '0.65%'
Feb 0.0145 '1.45%' 0.0082 '0.82%'
Mar 0.0027 '0.27%' 0.0122 '1.22%'
i.e.
> dput(d_final)
structure(list(Year = structure(c(2L, 1L, 3L), .Label = c("Feb",
"Jan", "Mar"), class = "factor"), X2006 = c(0.0204, 0.0145, 0.0027
), X2006.Lbl = structure(c(3L, 2L, 1L), .Label = c("'0.27%'",
"'1.45%'", "'2.04%&...