Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.356 kB
library('stringr')
sp_censo2010 <- read.csv("sp_censo2010.csv", header=T, skip=2, dec=",",fileEncoding="ISO-8859-1", nrows=64)
mulheres = subset(sp_censo2010,str_detect(sp_censo2010$Unidade,"mulheres"))
homens = subset(sp_censo2010,str_detect(sp_censo2010$Unidade,"homens"))
as.numeric(as.character(homens$Valor))
as.numeric(as.character(mulheres$Valor))
Jump to Line
Something went wrong with that request. Please try again.