Alan Adelman, Scott Callahan, Omer Cem Kutlubay
Fall 2013
#Dependent Variable
LTR - Literacy rate, adult total (% of people ages 15 and above)
GDP - GDP per Capita, UNEMP - Total Unemployment (%labor force), URBGR - Urban population growth (annual %), MOBILE - Mobile cellular subscriptions (per 100 people) INTERNET - Internet users (per 100 people) LEXP - Life Expectancy years BTOG - Ratio of Girls to Boys at School (Primary and Secondary) WMPOL - Proportion of seats held by women in national parliaments (%) SPGDP - Public spending on education, total (% of GDP) HTEXD - High-technology exports (current US$ Thousands) HTEXM - High-technology exports (% of manufactured exports) GINI - GINI Index
ltrdata10 <- read.csv("~/Group_project-figure/ltrdata10.csv")
row.names(ltrdata10) <- ltrdata10$Country.Name
ltrdata10$Country.Name <- NULL
View(ltrdata10)
ltrdata10$Region <- factor(ltrdata10$Region)
#str(ltrdata10)
levels(ltrdata10$Region) <- c("Africa", "Asia", "Oceanic", "C. America", "Europe","Mid. East", "N. America", "S. America")
Africa Asia Oceanic C. America Europe Mid. East
17 15 4 12 29 9
N. America S. America
3 6
Error in parse(text = x, srcfile = src) :
attempt to use zero-length variable name