Monthly Archives: October 2012

I’ve peeped a number of object-oriented R tutorials. This…

October 4, 2012
By

I’ve peeped a number of object-oriented R tutorials. This is the first one I could make it through. Easy and pleasant to read.

Read more »

Sequence generation with no duplicate pairs

October 4, 2012
By
Sequence generation with no duplicate pairs

Given a fixed set of items (say, 6 A, 12 B and 12 C) what algorithm will generate a randomised sequence containing all of these items with any adjacent pairs being different, e.g., no AA, BB or CC in the sequence? The answer would seem to be provided in my last post. However, turning this

Read more »

Presidential Debates with qdap-beta

October 4, 2012
By
Presidential Debates with qdap-beta

qdap brief intro For the past year I’ve been working on a package (qdap) to assist my field in quantitative discourse analysis; basically looking at patterns in language. It’s still a ways from being finished and lacks documentation (roxygen2 is … Continue reading →

Read more »

Garmin data visualization

October 4, 2012
By
Garmin data visualization

People go on rage, when governments initiate surveillance projects like CleanIT, nevertheless share very private data without a doubt. I have to admit, that some data leaks are well buried in the process. Take for example Garmin which produces GPS training devices for runners. In order to see your workouts you are forced to upload

Read more »

Parse pdf files with R (on a Mac)

October 4, 2012
By

Inspired by this blog post from theBioBucket, I created a script to parse all pdf files in a directory. Due to its reliance on the Terminal, it’s Mac specific, but modifications for other systems shouldn’t be too hard (as a start for Windows, see BioBucket’s script). First, you have to install the command line tool

Read more »

Log odds ratios and an indicator matrix from categorical data

October 4, 2012
By
Log odds ratios and an indicator matrix from categorical data

A long title, but there are a couple of handy things in this Gist. The first, and more obscure, is the conversion of a data.frame of categorical variables into a matrix of dummy/binary/indicator variables, one for each category of each original variab...

Read more »

Graphing Non-Proportional Hazards in R

October 3, 2012
By

(This article was first published on Christopher Gandrud (간드루드 크리스토파), and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Christopher Gandrud (간드루드 크리스토파). R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

Tips on accessing data from various sources with R

October 3, 2012
By

Jeffrey Breen (the man behind the Twitter airline sentiment analysis example) recently posted a collection of slides with some great tips for accessing data from R. "Tapping the Data Deluge" includes information on: Using the XLConnect package to read data from Excel spreadsheets Using the foreign package to read SPSS, SAS, Stata and dBase data files Using SQL queries...

Read more »

Have I chosen the right power company?

October 3, 2012
By
Have I chosen the right power company?

Do you always wonder if I have chosen the right power company and have not been over charged? Your questions may be answered here (if you reside in Wellington, New Zealand). Power costs per day and per month_Oct_2012 shows which company … Continue reading →

Read more »

A post about greater blogs

October 3, 2012
By

I'm very glad if you use or at least read sometimes my blog. However, I'd like to give you a list of wonderful blogs which are useful if you are interested in applied mathematics and programming for simulation.My favorite one is written by Arthur Charp...

Read more »