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

Popular posts from this blog

4x4 Matrix in Python -

python - String indices must be integers and while issue -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -