Last answered:

26 Apr 2020

Posted on:

24 Apr 2020

0

Date question on R

Using this code dfCrim3 = mutate(dfCrime2, YEAR= year(as.Date(dfCrime2$CrimeDate, format =‘%m%d%Y’))). .Normaly I should have a new column with only date in 4digits, but it is showing me NA, Can Someone help me?/// thank youuu
1 answers ( 0 marked as helpful)
Instructor
Posted on:

26 Apr 2020

0
Hi Patrice,  thanks for reaching out! Could you let us know which lecture this is referring to or add a link to it?   Best,  Eli  

Submit an answer