Articles by Ananda Mahto

splitstackshape V1.4.0 for R

October 15, 2014 | Ananda Mahto

After more than a year since splitstackshape V1.2.0, I’ve finally gotten around to making some major updates and submitting the package to CRAN. So, if you have messed up datasets filled with concatenated cells of data, and you need to split that data up and reorganize it for later ... [Read more...]

An R function like “order” from Stata

August 27, 2013 | Ananda Mahto

A while ago, there was a question on Stackoverflow, Is there an equivalent R function to Stata ‘order’ command?. There isn’t really, and for the most part, you don’t really need one, but I decided that, for fun, I would write one anyway. Instead of operating directly on ... [Read more...]

The “splitstackshape” package for R

August 15, 2013 | Ananda Mahto

A while ago, a friend of ours presented me with a data problem. Her questionnaire had some questions where the respondent could provide multiple responses. You know, the “Check as many as apply” type of questions. One way that this data is commonly stored is to put a comma separated ... [Read more...]

What exactly is “elegant” code in R?

December 4, 2012 | Ananda Mahto

In celebration of my achieving 10,000 “reputation” on Stack Overflow, I’m re-posting one of my questions from there that was (as I had expected) deleted after being live for about 5 hours. In that time, I never really got a satisfactory answer, so if anyone wants to offer one in the ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)