Average Annual Population Growth Rate of Tawi-Tawi

May 19, 2012
By

(This article was first published on Alstat R Blog, and kindly contributed to R-bloggers)

R Codes

library(ggplot2)
 
TawiTawiGrowthRate <- as.numeric(c(2.6, 3.3, 5.9, 1.6, 1.8, 5.5, 5))
CensalYear <- c("1948-1960","1960-1970","1970-1980","1980-1990","1990-1995",
"1995-2000","2000-2007")
 
qplot(CensalYear, TawiTawiGrowthRate, xlab = expression(bold("Censal Year")),
ylab = expression(bold("Growth Rate")), ylim = c(1.3, 6.3)) +
geom_path(aes(group = 1), size = 1.3, colour = "green") + theme_bw() +
geom_point(size = 13, colour = "blue", fill = "white", pch = 21) +
opts(title = expression(bold("Tawi-Tawi: Average Annual Population
Growth Rate"
)), plot.title = theme_text(size = 18, colour = "darkblue"),
panel.border = theme_rect(linetype = "dashed", colour = "red")) +
geom_text(aes(label = TawiTawiGrowthRate), angle = -0.13, size = 4, colour = "black")

To leave a comment for the author, please follow the link and comment on his blog: Alstat R Blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.