Skip to content

Instantly share code, notes, and snippets.

@vpereira
Created October 1, 2012 21:29
Show Gist options
  • Save vpereira/3814551 to your computer and use it in GitHub Desktop.
Save vpereira/3814551 to your computer and use it in GitHub Desktop.
library('stringer') # probably you will have to install it with install.packages('stringer')
mulheres = subset(sp_censo2010,str_detect(sp_censo2010$Unidade,"mulheres"))
homens = subset(sp_censo2010,str_detect(sp_censo2010$Unidade,"homens"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment