Hello!
I'm having trouble plotting Temperature vs time using ggplot.
tell me if you see the picture.
Even avoiding overlapping the problem persists .
The code is the following:
df3<-IB_dat%>%mutate(timestamp=paste(Fecha,Hora) %>%
as.POSIXct(., format="%Y-%m-%d %H:%M:%S")) %>%select(timestamp,Temperatura)
summary(df3)
IB_dat$time<-df3$timestamp
IB_dat$Nido<-as.factor(IB_dat$Nido)
eggs<-subset(IB_dat, Tipo_ib=="Huevo")
tapa<-subset(IB_dat, Tipo_ib=="Tapa")
head(tapa)
str(df3)
qeggs<-ggplot(eggs, aes(x=time, y=Temperatura,color=Nido)) +geom_line()+ xlab("")+ylab("Incubation temperature")+mythema +scale_y_discrete(guide = guide_axis(check.overlap = TRUE))
print(qeggs)