5038 search results for "git"

R Syntax for Ranked Choice Voting

November 30, 2013
By

I have gotten several requests for the R syntax I used to analyze the ranked-choice voting data and create the animated GIF. Rather than just posting the syntax, I thought I might write a detailed post describing the process. Reading … Continue reading →

Read more »

Logistic Regression with R: step by step implementation part-1

November 30, 2013
By
Logistic Regression with R: step by step implementation part-1

Very warm welcome to first part of my series blog posts. In previous blog post, we discussed about concept of the linear regression and its mathematical model representation.  We also tried to implement linear regression in R step by step. In this post I will discuss about the logistic regression  and how to implement the The post Logistic...

Read more »

The attendants of useR! 2013 around the world

November 30, 2013
By
The attendants of useR! 2013 around the world

Alex and I had a great time in Albacete this summer, where the annual useR! conference took place. Of course we were really interested in the exciting news on R development, new packages and other related topics that we hoped to hear about there, and we also wanted to present what we have created with our R packages...

Read more »

RcppCNPy 0.2.2

November 30, 2013
By

Right on the heels of release 0.2.1 of RcppCNPy, a new version 0.2.2 is now on CRAN. RcppCNPy uses the CNPY library by Carl Rogers to provide R with easy read and write access to NumPy files. The reason for the new version that I had experimented ...

Read more »

Introducing CrimeMap – A Web App Powered by ShinyApps!

November 29, 2013
By
Introducing CrimeMap – A Web App Powered by ShinyApps!

A few months ago I did a mini project using open crime data and R to create crime visualisations. At that time, I was already thinking about a web app using Shiny but I couldn't justify the time to develop the app and then set up a server etc. Not unti...

Read more »

Happy Thanksgiving from Revolution Analytics

November 28, 2013
By

> require(devtools) > install_github("cowsay","SChamberlain") > require(cowsay) > say("Happy Thanksgiving!",by="chicken") ----- Happy Thanksgiving! ------ \ \ _ _/ } `>' \ `| \ | /'-. .-. \' ';`--' .' \'. `'-./ '.`-..-;` `;-..' _| _| /` /` (With thanks for Scott Chamberlain for the cowsay package.) For those in the US and everyone who celebrates, Happy Thanksgiving from the team...

Read more »

Computing and visualizing PCA in R

November 28, 2013
By
Computing and visualizing PCA in R

Following my introduction to PCA, I will demonstrate how to apply and visualize PCA in R. There are many packages and functions that can apply PCA in R. In this post I will use the function prcomp from the stats package. I will also show how to visualize PCA in R using Base R graphics.

Read more »

Fast Threshold Clustering Algorithm (FTCA) test

November 27, 2013
By
Fast Threshold Clustering Algorithm (FTCA) test

Today I want to share the test and implementation for the Fast Threshold Clustering Algorithm (FTCA) created by David Varadi. This implementation was developed and contributed by Pierre Chretien, I only made minor updates. Let’s first replicate the results from the Fast Threshold Clustering Algorithm (FTCA) post: The clusters are stable and match David’s results

Read more »

Errors-in-variables models in stan

November 27, 2013
By
Errors-in-variables models in stan

In a previous post, I gave a cursory overview of how prior information about covariate measurement error can reduce bias in linear regression. In the comments, Rasmus Bååth asked about estimation in the absence of strong priors. Here, I’ll describe a Bayesian approach for estimation and correction for covariate measurement error using a latent-variable based errors-in-variables...

Read more »

Mapping Power Outages in Maine Dynamically with Shiny/R

November 27, 2013
By

I decided to forego the D3 map mentioned in the previous post in favor of a Shiny one since I had 90% of the mapping code written. I binned the ranges into three groups, changed the color over to something more pleasant (with RColorBrewer), added an interactive table for the counties with outage and have

Read more »