Created
December 13, 2012 03:25
-
-
Save drewgriffith15/4273782 to your computer and use it in GitHub Desktop.
Working on my CV a little bit and got sidetracked...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############### DREWGRIFFITH15############### remove objects | |
| rm(list = ls()) | |
| # load toolbox | |
| install_github("toolbox", "drewgriffith15") | |
| require(toolbox) | |
| # load packages | |
| load.packages("tm,wordcloud,RColorBrewer") | |
| # reading from clipboard x = read.table(file = 'clipboard', sep = '\t', | |
| # header=TRUE) | |
| SKILL = c("AUTOHOTKEY", "DATA MINING", "DATA MODELING", "EXCEL", "FORECASTING", "MACHINE LEARNING", | |
| "PATTERN RECOGNITION", "PL/SQL", "PREDICTIVE ANALYTICS", "R", "SQL", "STATISTICS", | |
| "TECHNICAL ANALYSIS", "TIMES SERIES ANALYSIS", "VBA") | |
| ABILITY = c(1, 2, 1, 3, 3, 1, 1, 2, 2, 3, 3, 2, 1, 3, 2) | |
| x = data.frame(SKILL, ABILITY) | |
| # wordcloud | |
| colors = brewer.pal(3, "Set1") | |
| wordcloud(x$SKILL, x$ABILITY, scale = c(3, 0.5), min.freq = 5, max.words = Inf, random.order = FALSE, | |
| rot.per = 0.15, colors = colors) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment