Date transformation Format R -
i have column in df
date 1992 1992 1992 1992 1993 1993 1993
it integer or factor , transfomed date
reshaped.test1$year <- as.date(as.factor(reshaped.test1$year), "%y")
but out put
date 1992/03/28 1992/03/28 1992/03/28 1992/03/28 1993/03/28 1993/03/28
the class (df$date) date fund solution tojust maintain year
df$date <- format(f,'%y')
but class changed
this problem same work in q monthly frequent date
Comments
Post a Comment