- x contains variables riskgroup, aod (for age of death) and sex
ggplot(x,aes(x=riskgroup,y=aod,colour=riskgroup)) + geom_dotplot() + facet(~sex) + xlab("Risk Group") + ylab("Age of Death")
ggplot(x,aes(x=riskgroup,y=aod,colour=riskgroup)) + geom_dotplot() + facet(~sex) + xlab("Risk Group") + ylab("Age of Death")
0 comments:
Post a Comment