I am new to R, and by new I mean I've only started using it last Thursday..
I am trying to create a line graph showing data for separate housing units but I cant seem to figure it out. I used the following to try to plot my data
d.wastewaternew$sampledate = mdy(d.wastewaternew$ï..DateResult) d.wastewaternew %>% ggplot(aes(x = ï..DateResult, y= SARS2_levels, color = Hall)) + geom_line()
and the result I got was the first image, which shows now data plots and has the dates all jumbled up
On the second try, I changed ï..DateResult in the sting to sampledate, which was the new mdy variable I had created for this data set and it gave me the following. Now instead of plotting by day its just plotting months, which is not what I need for the graph
any tips would be greatly appreciated