Skip to content

Instantly share code, notes, and snippets.

@francoisstamant
Created May 19, 2020 14:01
Show Gist options
  • Save francoisstamant/1c87c5f5d1f5dd56ea03ad077fa1fb9a to your computer and use it in GitHub Desktop.
Save francoisstamant/1c87c5f5d1f5dd56ea03ad077fa1fb9a to your computer and use it in GitHub Desktop.
ggplot(df,aes(x=diagnosis))+geom_bar(stat="count",fill ="steelblue",width =0.6)+scale_x_discrete(labels=c("Benign","Malign"))+
labs(title = "Proportion of diagnosis") + theme_gray(base_size = 19) +
theme(axis.text=element_text(size=12),axis.title=element_text(size=12,face="bold"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment