Posts for tag « R »

André Ourednik, Friday, February 16, 2018

Text sources are often PDF’s. If optical character recognition (OCR) has been applied, the pdftools R package allows you to extract text from all PDFs to text files stored in a folder. The readtext package converts the set of text files into something useful for Quanteda. Nevertheless, some cleaning is necessary before transforming your text […]

Category: Tools  | Tags: , , , , , ,  | Leave a Comment
André Ourednik, Wednesday, March 22, 2017

A histogram gives you counts of elements within spefic ranges of a variable, represented as bars. Sometimes, you want to see more then bars. The following code allows you to represent a second variable with a color shade:

André Ourednik, Tuesday, December 13, 2016

La cartographier dans R demande une installation relativement complexe. On peut la faciliter en installer qGIS avant de procéder à la suite. La procédure d’installation complète de qGIS pour tous les systèmes d’exploitation est décrite ici. Installer GDAL et GEOS L’installation complète de qGIS installe GDAL et GEOS, car qGIS dépend de ces bibliothèques. Mais […]

André Ourednik, Thursday, December 1, 2016

Cet exercice décrit l’installation de R et introduit l’usage du logiciel avec des exemples concrets. Installer un environnement de travail R et RStudio Téléchargez et installez R avec un installeur correspondant à votre plateforme. Avec un Mac, utiliser le pkg ici. Installez aussi ou mettez à jour XQuartz. Il est possible d’utiliser Homebrew pour tout […]

André Ourednik, Thursday, April 5, 2012

Methods and tools After a day and a half of work and fine-tuning, here we go: the commuting network of all individuals either residing, working or studying in the canton Valais. I’ve used R, with the RStudio GUI, and the igraph library for R. My staring point was the mobility matrix between all communes, including […]

André Ourednik, Tuesday, June 14, 2011

R is the greatest open source statiscal programming package around. It is all a mapper need to pretreat data. Yet it suffers from interfaces that are either uggly, tedious to set up, clumsy to use or all of these. After years of glaring at the Windows interface of R, I’ve finally sutmbled upon a nice […]

Category: Tools  | Tags: , , ,  | Leave a Comment