February 2015

How to learn R: A flow chart

February 23, 2015 | 0 Comments

I often find myself giving people suggestions about how to learn R, so I decided to put together a flow chart. This is geared toward typical psychology or cognitive science researchers planning to do basic data analysis in R. This is how to get started...
[Read more...]

Make prettier documents by reusing chunks in RMarkdown

February 23, 2015 | 0 Comments

No revelations here, just a little R tip for generating more readable documents. There are times when I want to show code in a document, but I don’t want it to be the first thing that people see. What I want to see first is the output from that ...
[Read more...]

RStudio v0.99 Preview: Vim Mode Improvements

February 23, 2015 | 0 Comments

RStudio’s code editor includes a set of lightweight Vim key bindings. You can turn these on in Tools | Global Options | Code | Editing: For those not familiar, Vim is a popular text editor built to enable efficient text editing. It can take some practice and dedication to master Vim style ...
[Read more...]

RStudio v0.99 Preview: Code Completion

February 23, 2015 | 0 Comments

We’re busy at work on the next version of RStudio (v0.99) and this week will be blogging about some of the noteworthy new features. If you want to try out any of the new features now you can do so by downloading the RStudio Preview Release. The first feature ...
[Read more...]

Resources for Learning Data Manipulation in R, SAS and Microsoft Excel

February 23, 2015 | 0 Comments

I had the great pleasure of speaking to the Department of Statistics and Actuarial Science at Simon Fraser University on last Friday to share my career advice with its students and professors.  I emphasized the importance of learning skills in data manipulation during my presentation, and I want to supplement ...
[Read more...]

Launching DataScience.Vegas Blog

February 23, 2015 | 0 Comments

We are glad to announce the launch of DataScience.Vegas as a blog that aggregates all the events, news and information impacting the Las Vegas data science community. Our community has witnessed the birth and steady growth of several data science meetup groups with a very enthusiastic group of devoted ... [Read more...]

Masters of Spin: Unraveling the web with R

February 23, 2015 | 0 Comments

Here is a look at some of the masters of spin bowling in cricket. Specifically this post analyzes 3 giants of spin bowling in recent times, namely Shane Warne of Australia, Muthiah Muralitharan of Sri Lanka and our very own Anil Kumble of India.  As to “who is the best leggie” ...
[Read more...]

Hadoop and Neo4j

February 23, 2015 | 0 Comments

Hadoop is being widely used for processing big data and Neo4j is a popular open-source graph database. When doing social network analysis on big data, a “natural” thought is to use them together. Unfortunately, Neo4j cannot work directly on HDFS … Continue reading →
[Read more...]

drat Tutorial: Publishing a package

February 22, 2015 | 0 Comments

Introduction The drat package was released earlier this month, and described in a first blog post. I received some helpful feedback about what works and what doesn't. For example, Jenny Bryan pointed out that I was not making a clear enough distinction between the role of using drat to publish ... [Read more...]

k-means clustering and Voronoi sets

February 22, 2015 | 0 Comments

In the context of -means, we want to partition the space of our observations into  classes. each observation belongs to the cluster with the nearest mean. Here “nearest” is in the sense of some norm, usually the (Euclidean) norm. Consider the case where we have 2 classes. The means being respectively ... [Read more...]

Priors on odds and probability of success

February 22, 2015 | 0 Comments

In Bayesian Approaches to Clinical Trials and Health-Care Evaluation (David J. Spiegelhalter, Keith R. Abrams, Jonathan P. Myles) they mention that an non informative prior should be uniform over the range of interest. They combine this with the d... [Read more...]

Visualizing Hubway Trips in Boston

February 21, 2015 | 0 Comments

Most Popular Hubway Stations (in order): Post Office Sq. – located in the heart of the financial district. Charles St. & Cambridge – the first Hubway stop after crossing from Cambridge over Longfellow Bridge. Tremont St & West – East side of the Boston Common South Station Cross St. & Hannover – entrance to North End combing ...
[Read more...]

Export R output to a file

February 21, 2015 | 0 Comments

Sometimes it is useful to export the output of a long-running R command. For example, you might want to run a time consuming regression just before leaving work on Friday night, but would like to get the output saved inside your Dropbox folder to take a look at the results ... [Read more...]

Continuous Integration for R packages

February 21, 2015 | 0 Comments

What is git? Git is a version control system, and the best I have worked with for that matter. 15 years ago, I was happy when my company decided to migrate from RCS to SVN. Branching became simple, and many daily problems just disappeared. So I shuned other source control versioning ... [Read more...]

RcppAPT 0.0.1

February 21, 2015 | 0 Comments

Over the last few days I put together a new package RcppAPT which interfaces the C++ library behind the awesome apt, apt-get, apt-cache, ... commands and their GUI-based brethren. The package currently implements two functions which permit search for package information via a regular expression, as well as a (vectorised) package ... [Read more...]

using the httr package to retrieve data from apis in R

February 20, 2015 | 0 Comments

For a project I’m working on, I needed to access residential electricity rates and associated coordinate information (lat/long) for locations in the US. After a little searching, I found that data.gov offers the rate information in two forms: a static list of approximate rates by region and ... [Read more...]

HOW TO: Package vignettes in plain LaTeX

February 20, 2015 | 0 Comments

Ever wanted to include a plain-LaTeX vignette in your package and have it compiled into a PDF? The R.rsp package provides a four-line solution for this. But, first, what's R.rsp? R.rsp is an R package that implements a compiler for the RSP markup language. RSP can be ... [Read more...]

Making Maps in R with Ryan Peek and Michele Tobias

February 20, 2015 | 0 Comments

Today, Ryan Peek and Michele Tobias gave an introduction to making maps in R. Here’s the webcast: (Pardon the little scuffle at the beginning and as we switched computers halfway through. Still getting the hang of hangouts.) Resources: Download all of Ryan’s code and HTML files here. See ... [Read more...]
1 2 3 4 5 11

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)