- Tutorial on
plyrhttp://seananderson.ca/2013/12/01/plyr.html - Tutorial on
reshapehttp://seananderson.ca/2013/10/19/reshape.html
- Quick introduction to
ggplot2()
http://chrisladroue.com/extra/ggplot2Intro/introductionGGplot2/
plyr http://seananderson.ca/2013/12/01/plyr.htmlreshape http://seananderson.ca/2013/10/19/reshape.htmlggplot2()| ############################################################################### | |
| # Elo rating system implementation in R # | |
| ############################################################################### | |
| # | |
| # INTRODUCTION | |
| # The ELO rating system is a method for calculating the relative skill levels | |
| # of players in Player-Versus-Player games. This rating system is used on | |
| # chess and also in a number of games, videogames, etc. | |
| # It was originally invented as an improved chess rating system in the 1960s | |
| # and established at the FIDE-congress 1970 in Siegen (Germany). |
| ############################################################################ | |
| # This file has the R functions didYouMean() and didYouMean2(). | |
| # The function didYouMean() is a copy found in the "didYouMean.R" file of | |
| # the repository: https://github.com/samcarlos/didYouMean . | |
| # | |
| # The function didYouMean(input) is described below and was originally | |
| # developed by "Sam Carlos". I just wrote a few comments to help me understand | |
| # how this function is implemented. I also added the call to the options(...) | |
| # function, in order to solve a SSL error on Windows 7. | |
| # |
| import java.util.Iterator; | |
| import java.util.regex.Pattern; | |
| /** | |
| * Classe que permite dividir um texto em tokens. A divisão é feita com | |
| * base nos espaços encontrados no texto. O tokenizer tem 3 modos de funcionamento. | |
| * Estes modos permitem indicar o que fazer com os símbolos (tudo que não seja uma | |
| * letra nem um número) existentes no início e fim de cada token. | |
| * |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.io.OutputStream; | |
| import java.util.HashMap; | |
| import java.util.Map; |
| package com.itextpdf; | |
| import com.itextpdf.text.Rectangle; | |
| import com.itextpdf.text.pdf.PdfArray; | |
| import com.itextpdf.text.pdf.PdfDictionary; | |
| import com.itextpdf.text.pdf.PdfName; | |
| import com.itextpdf.text.pdf.PdfReader; | |
| import com.itextpdf.text.pdf.PdfString; | |
| import com.itextpdf.text.pdf.parser.FilteredTextRenderListener; | |
| import com.itextpdf.text.pdf.parser.LocationTextExtractionStrategy; |