May 2017

Pretty scatter plots with ggplot2

May 15, 2017 | Simon Jackson

@drsimonj here to make pretty scatter plots of correlated variables with ggplot2! We’ll learn how to create plots that look like this:  Data In a data.frame d, we’ll simulate two correlated variables a and b of length n: set.seed(170513) n 2 0.9133158 0.21116682 #__ 3 1.4516084 0.69060249 #__ 4 0.5264596 0.22471694 #__ 5 -1.9412516 -1.70890512 #__ 6 1.4198574 0.30805526  Basic scatter plot Using ...
[Read more...]

Instrumental Variables in R exercises (Part-1)

May 15, 2017 | Bassalat Sajjad

One of the most frequently encountered issues in econometrics is endogeneity. Consider the simple Ordinary Least Squares (OLS) regression setting in which we model wages as a function of years of schooling (education): One of the main assumption of OLS is that the independent variables are not correlated with the ... [Read more...]

Visualizing R-Ladies’ growth!

May 15, 2017 | Daniela Vazquez

I recently came across an article in which they map 5,000 years of city growth in a beautiful animation, and I knew I had to make a similar map for the R-Ladies’ chapters (probably the purple color they use had plenty to do with that ???? ). So my idea was to map ... [Read more...]

How to plot animated maps with gganimate

May 15, 2017 | Daniela Vazquez

This is the third one of the 3-posts-series, where I go from fetching Twitter users and preparing the data to visualizing it (If I wanted to show everything I’ve done in a single post, it would be almost as long as my first one! And believe me: nobody wants ...
[Read more...]

How to deal with ggplotly huge maps

May 15, 2017 | Daniela Vazquez

This is the second one of the 3-posts-series, where I go from fetching Twitter users and preparing the data to visualizing it (If I wanted to show everything I’ve done in a single post, it would be almost as long as my first one! And believe me: nobody wants ...
[Read more...]

Building a Medicare Shiny App – Part 1

May 15, 2017 | Scott Stoltzman

Hello R community. if you’re up for some fun tinkering with a Shiny App please join me on a new project. I would love to see some collaboration in designing a Shiny Application which will help people make a decision about a healthcare provider. I have only just begun ...
[Read more...]

How to fetch Twitter users with R

May 15, 2017 | Daniela Vazquez

This is the first one of a 3-posts-series, where I go from fetching Twitter users and preparing the data to visualizing it (If I wanted to show everything I’ve done in a single post, it would be almost as long as my first one! And believe me: nobody wants ... [Read more...]

Predicting the Baseball Hall of Fame

May 14, 2017 | Andrew Rubino

Intro The Great Bambino. The Big Unit. Joltin' Joe. Henry Rowengartner. If you're familiar with the sport of baseball, you might recognize some of these names […] The post Predicting the Baseball Hall of Fame appeared first on NYC Data Science Academy Blog. [Read more...]

FizzBuzz in R

May 14, 2017 | William Doane

Functions are first class objects in R. Functions establish closures also known in R as environments. So, you can use functions to create other functions in creative ways. Here, I’ve written a function called divisor that returns a function that checks whether a given input, d, is evenly divisible ... [Read more...]

Rborist 0.1-6 now on CRAN

May 14, 2017 | Mark Seligman

The latest release of the Rborist package, which provides an accelerated implementation of the Random Forest (TM) algorithm, is available from CRAN. Version 0.1-6 offers several notable improvements: Sparse matrix representation Sparse numeric dcgM... [Read more...]

Rborist 0.1-6 now on CRAN

May 14, 2017 | Mark Seligman

The latest release of the Rborist package, which provides an accelerated implementation of the Random Forest (TM) algorithm, is available from CRAN. Version 0.1-6 offers several notable improvements: Sparse matrix representation Sparse numeric dcgM... [Read more...]

SHA256

May 14, 2017 | Moritz

Using SHA256 to hash email addresses If you upload your users’ email addresses to Facebook or AdWords, you should hash them to conform and abide by all data privacy and protection rules. Uploading them to these two marketing systems requires the SHA-256 hash algorithm, other algorithms do not work as ... [Read more...]

Mutation, selection, and drift (with Shiny)

May 14, 2017 | mrtnj

Imagine a gene that comes in two variants, where one of them is deleterious to the carrier. This is not so hard to imagine, and it is often the case. Most mutations don’t matter at all. Of those that matter, most are damaging. Next, imagine that the mutation happens ...
[Read more...]
1 8 9 10 11 12 18

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)