Got a ticket for the runoff?

October 1, 2014
By
Got a ticket for the runoff?

This is one of the very last posting before the election next Sunday. So far, the only certainty is the runoff ticket of the incumbent candidate, Dilma Rousseff (PT). The runner up candidates, the environmentalist Marina Silva (PSB) and the Social Democrat Aecio Neves are walking to a neck-and-neck dispute over the last spin. Although … Read More...

Read more »

Working with NIfTI images in R

October 1, 2014
By
Working with NIfTI images in R

The oro.nifti package is awesome for NeuRoimaging (couldn't help myself). It has functions to read/write images, introduces the S4 nifti class, and has useful plotting functions. There are some limitations and some gotchas that are important to discuss if you are working with these objects in R. Dataset Creation We'll read in some data (a

Read more »

Transparent hurricane paths in R

October 1, 2014
By
Transparent hurricane paths in R

Arthur Charpentier has written a really nice blog post about obtaining hurricane tracks and plotting them. He then goes on to do other clever Markov process models, but as a dataviz guy who knows almost nothing about meteorology, I want to … Continue reading →

Read more »

New fiscal sponsorship agreement with NumFocus foundation

October 1, 2014
By
New fiscal sponsorship agreement with NumFocus foundation

I’m very pleased to announce that rOpenSci has signed a comprehensive fiscal sponsorship agreement with the NumFocus foundation, a 501(c)3 nonprofit that supports R&D for open source scientific software projects. We are delighted to be in the company of esteemed projects such as IPython and Julia that share our goal of promoting reproducible research practices...

Read more »

Complex Domain Coloring

September 30, 2014
By
Complex Domain Coloring

Why don’t you stop doodling and start writing serious posts in your blog? (Cecilia, my beautiful wife) Choose a function, apply it to a set of complex numbers, paint  the result using the HSV technique and be ready to be impressed because images can be absolutely amazing. You only need ggplot2 package and your imagination. This is what happens

Read more »

Implementing an EM Algorithm for Probit Regressions

September 30, 2014
By
Implementing an EM Algorithm for Probit Regressions

Users new to the Rcpp family of functionality are often impressed with the performance gains that can be realized, but struggle to see how to approach their own computational problems. Many of the most impressive performance gains are demonstrated with seemingly advanced statistical methods, advanced C++–related constructs, or both. Even when users are able to understand how various demonstrated features operate in isolation, examples...

Read more »

Structured simulation of regression models – simReg package.

September 30, 2014
By

I'd like to introduce a package that simulates regression models. This includes both single level and multilevel (i.e. hierarchical or linear mixed) models up to two levels of nesting. The package produces a unified framework to simulate all types of c...

Read more »

Install R in Android, via GNURoot -no root required!

September 30, 2014
By
Install R in Android, via GNURoot -no root required!

Playing with my tablet some time ago, I wondered if installing R could be possible. You know, a small android device “to the power of R”… After searching on Google from time to time, I came across some interesting possibilities: … Sigue leyendo →

Read more »

Interactive Visualisation of the Profitable Amount of Waste to Dispose Illegally

September 30, 2014
By
Interactive Visualisation of the Profitable Amount of Waste to Dispose Illegally

"Wow!" - I said to myself after reading R Helps With Employee Churn post - "I can create interactive plots in R?!!! I have to try it out!" I quickly came up with an idea of creating interactive plot for my simple model for assessment of the profitable ratio between the volume waste that could be illegally...

Read more »

Generating Hurricanes with a Markov Spatial Process

September 30, 2014
By
Generating Hurricanes with a Markov Spatial Process

The National Hurricane Center (NHC) collects datasets with all  storms in North Atlantic, the North Atlantic Hurricane Database (HURDAT). For all sorms, we have the location of the storm, every six jours (at midnight, six a.m., noon and six p.m.). Note that we have also the date, the maximal wind speed – on a 6 hour window – and...

Read more »

Meet us at R Day and at the Strata+Hadoop World NYC Oct 15-17, 2014

September 30, 2014
By
Meet us at R Day and at the Strata+Hadoop World NYC Oct 15-17, 2014

Are you headed to Strata? It’s just around the corner! We particularly hope to see you at R Day on October 15, where we will cover a raft of current topics that analysts and R users need to pay attention to. The R Day tutorials come from Hadley Wickham, Winston Chang, Garrett Grolemund, J.J. Allaire, and

Read more »

Additional tips for structuring an individual-based model in R

September 30, 2014
By
Additional tips for structuring an individual-based model in R

 I had a reader ask me recently to help understand how to modify the code of an individual-based model (IBM) that I posted a while back. It was my first attempt at an IBM in R, and I realized that I have made some significant changes to the way th...

Read more »

Why are we still teaching T-tests?

September 30, 2014
By

The following post by Norm Matloff originally appeared on his blog, Mad(Data)Scientist, on September 15th. We rarely republish posts that have appeared on other blogs, however, the questions that Norm raises both with respect to the teaching of statistics, and his assertion that "R's statistical procedures are centered far too much on significance testing" deserve a second look. Moreover,...

Read more »

Building a DGA Classifier: Part 1, Data Preparation

September 30, 2014
By

This will be a three-part blog series on building a DGA classifier and will be split into three logical phases of building a classifier: 1) Data preparation (this) 2) Feature engineering and 3) Model selection. And before I get too far into this, I want to give a huge thank you to Click Security for releasing a DGA classifier in python as part of...

Read more »

Example 2014.11: Contrasts the basic way for R

September 30, 2014
By
Example 2014.11: Contrasts the basic way for R

As we discuss in section 6.1.4 of the second edition, R and SAS handle categorical variables and their parameterization in models quite differently. SAS treats them on a procedure-by-procedure basis, which leads to some odd differences in capabilities and default parameterizations. For example, in the logistic procedure, the default is effect cell coding, while in the genmod...

Read more »

Structural Arb Analysis and Portfolio Management Functionality in R

September 30, 2014
By
Structural Arb Analysis and Portfolio Management Functionality in R

I want to use this post to replicate an article I found on SeekingAlpha, along with demonstrating PerformanceAnalytics’s ability to … Continue reading →

Read more »

Syrian Refugee Settlement Clinic Locations

September 30, 2014
By
Syrian Refugee Settlement Clinic Locations

Previously I posted about the location of refugee settlements and how that had grown in density over time as well as in numbers.  As many NGOs and non-profits work in the area, they are providing much needed assistance to the people living around ...

Read more »

Running RStudio via Docker in the Cloud

September 30, 2014
By
Running RStudio via Docker in the Cloud

Deploying applications via Docker container is the current talk of town. I have heard about Docker and played around with it a little, but when Dirk Eddelbuettel posted his R and Docker talk last Friday I got really excited and had to have a go myself....

Read more »

seeking altruistic social scientists, demographers, survey researchers

September 30, 2014
By
seeking altruistic social scientists, demographers, survey researchers

hi everyone, please share this:  if you are an experienced user of a publicly-available survey data set from any country or international organization, let's work together on some user-friendly code and a short blog post for http://asdfree.com.&nb...

Read more »

Rcpp 0.11.3

September 29, 2014
By

A new release 0.11.3 of Rcpp is now on the CRAN network for GNU R, and an updated Debian package has been uploaded too. Rcpp has become the most popular way of enhancing GNU R with C++ code. As of today, 273 packages on CRAN depend on Rcpp for making...

Read more »

Data management with ShinyApps.io

September 29, 2014
By
Data management with ShinyApps.io

Some of the most innovative Shiny apps share data across user sessions. Some apps share the results of one session to use in future sessions, others track user characteristics over time and make them available as part of the app. This level of sophistication creates tricky design choices when you host your app on a

Read more »

Video introduction to data manipulation with dplyr

September 29, 2014
By

Hadley Wickham's dplyr package is a great toolkit for getting data ready for analysis in R. If you haven't yet taken the plunge to using dplyr, Kevin Markham has put together a great hands-on video tutorial for his Data School blog, which you can see below. The video covers the five main data-manipulation "verbs" that dplyr provides: filter, select,...

Read more »

TURF Analysis: A Bad Answer to the Wrong Question

September 29, 2014
By
TURF Analysis: A Bad Answer to the Wrong Question

Now that R has a package performing Total Unduplicated Reach and Frequency (TURF) Analysis, it might be a good time to issue a warning to all R users. DON'T DO IT!The technique itself is straight out of media buying from the 1950s. Given some number of...

Read more »

Registration now open for Master R Developer workshop in San Francisco

September 29, 2014
By
Registration now open for Master R Developer workshop in San Francisco

Registration is now open for the next Master R Development workshop led by Hadley Wickham, author of over 30 R packages and the Advanced R book. The workshop will be held on January 19 and 20th in the San Francisco bay area. The workshop is a two day course on advanced R practices and package

Read more »

A majority victory is not that impossible

September 29, 2014
By
A majority victory is not that impossible

By this time next week, we'll already know the true vote intentions of Brazilians towards the candidates running for president. Not long time ago a runoff was taken as grant, but last polls have been converging on the feeling that Brazilians are about to reward the Workers' Party's government another term. Marina Silva (PSB), who … Read More...

Read more »

Ramarro: “R for Developers” free (web) book

September 29, 2014
By

What is Ramarro? Ramarro is a book about advanced R pro

Read more »

R package for Computational Actuarial Science

September 29, 2014
By

A webpage for the book is now hosted on http://cas.uqam.ca/ So far, it is a very basic page, but information regarding the package can be found there. For instance, to install the package, with all the datasets, the R code is > install.packages("CAS...

Read more »

Machine learning with R & Advanced R programming course

Machine learning with R & Advanced R programming course

This year, BNOSAC offers 2 R courses in cooperation with the Leuven Statistics Research Center. The courses are part of the Leuven STATistics STATe of the Art Training Initiative and are given in Leuven (Belgium). For R users and data scientists...

Read more »

jsonlite 0.9.12: now even lighter and faster

September 28, 2014
By
jsonlite 0.9.12: now even lighter and faster

The jsonlite package implements a robust, high performance JSON parser and generator for R, optimized for statistical data and the web. This week version 0.9.12 appeared on CRAN which includes a completely rewritten json parser and more optimized C code for json generation. The new parser is based on yajl...

Read more »