Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap with plus #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 00_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ plot_1_fr<-ggplot(data=df, aes(x=low_bin, y=(p), col=expert.date))+

# plot HZ:istitution
plot_2<-ggplot(data=df, aes(x=low_bin, y=(p), col=expert.date))+
geom_line()+facet_wrap(~HZ:institution)+theme_bw()+
geom_line()+facet_wrap(~HZ+institution)+theme_bw()+
geom_line(data=df, aes(x=low_bin, y= p.all.experts), col="black", size=1)+
scale_y_continuous(limits = c(0,1), breaks=seq(0,1, by=0.1), name="p")+
scale_x_continuous(name=paste("Predicted new EVD cases reported (confirmed+probable) during",time_period))+
labs(colour= "Expert and date")

# plot HZ:last in field
plot_3<-ggplot(data=df, aes(x=low_bin, y=(p), col=expert.date))+
geom_line()+facet_wrap(~HZ:last.in.field)+theme_bw()+
geom_line()+facet_wrap(~HZ+last.in.field)+theme_bw()+
geom_line(data=df, aes(x=low_bin, y= p.all.experts), col="black", size=1)+
scale_y_continuous(limits = c(0,1), breaks=seq(0,1, by=0.1), name="p")+
scale_x_continuous(name=paste("Predicted new EVD cases reported (confirmed+probable) during",time_period))+
labs(colour= "Expert and date")

# plot HZ:experience.ide
plot_4<-ggplot(data=df, aes(x=low_bin, y=(p), col=expert.date))+
geom_line()+facet_wrap(~HZ:experience.ide, ncol = 4)+theme_bw()+
geom_line()+facet_wrap(~HZ+experience.ide, ncol = 4)+theme_bw()+
geom_line(data=df, aes(x=low_bin, y= p.all.experts), col="black", size=1)+
scale_y_continuous(limits = c(0,1), breaks=seq(0,1, by=0.1), name="p")+
scale_x_continuous(name=paste("Predicted new EVD cases reported (confirmed+probable) during",time_period))+
Expand Down