Quantcast
Channel: ggplot2 – DataScience+
Browsing all 47 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Analysing Longitudinal Data: Multilevel Growth Models (I)

Last time we discussed the conversion of longitudinal data between wide and long formats and visualised individual growth trajectories using a sample randomised controlled trial dataset. But could we...

View Article


Image may be NSFW.
Clik here to view.

Using the ggplot2 library in R

In this article, I will show you how to use the ggplot2 plotting library in R. It was written by Hadley Wickham. If you don’t have already have it, install it and load it up:...

View Article


Image may be NSFW.
Clik here to view.

Visualizing MLS Player Salaries with ggplot2

Recently, I came across this great visualization of MLS Player salaries. I tried to do something similar with ggplot2, and while I was unable to replicate the interactivity or the tree-map nature of...

View Article

Image may be NSFW.
Clik here to view.

Google scholar scraping with rvest package

In this post, I will show how to scrape google scholar. Particularly, we will use the 'rvest' R package to scrape the google scholar account of my PhD advisor. We will see his coauthors, how many times...

View Article

Image may be NSFW.
Clik here to view.

Sentiment Analysis on Donald Trump using R and Tableau

Recently, the presidential candidate Donal Trump has become controversial. Particularly, associated with his provocative call to temporarily bar Muslims from entering the US, he has faced strong...

View Article


Image may be NSFW.
Clik here to view.

Hierarchical Clustering in R

Hello everyone! In this post, I will show you how to do hierarchical clustering in R. We will use the iris dataset again, like we did for K means clustering. What is hierarchical clustering? If you...

View Article

Interactive Performance Evaluation of Binary Classifiers

Through this post I would like to describe a package that I recently developed and published on CRAN. The package titled IMP (Interactive Model Performance) enables interactive performance evaluation...

View Article

Plotting App for ggplot2

Through this post, I would like to share an update to my RTutoR package. The first version of this package included an R Basics Tutorial App which I published earlier at DataScience+ The updated...

View Article


Plotting App for ggplot2 – Part 2

Through this post, I would like to provide an update to my plotting app, which I first blogged about here. The app is available as part of my package RtutoR, which is published on CRAN.(The app is also...

View Article


Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 0 – Introduction and Set-up

The pre-first lesson focuses on setting you up with RStudio and Git. As a reminder, there are some steps you should have done before starting this lesson: Install R. If you already have R installed, be...

View Article

Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 1 – R Basics

Before starting this lesson you should have completed all of the steps in Lesson 0. If you have not, go back and do the lesson now. By the end of this lesson you will be able to: Make an R Project....

View Article

Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 2 – Linear Regression

This is our first lesson where we actually learn and use a new statistic in R. For today’s lesson we’ll be focusing on linear regression. I’ll be taking for granted some of the set-up steps from Lesson...

View Article

Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 3 – Logistic Regression

Today we’ll be moving from linear regression to logistic regression. This lesson also introduces a lot of new dplyr verbs for data cleaning and summarizing that we haven’t used before. Once again, I’ll...

View Article


Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 4 – Multiple Regression

Introduction Today we’ll see what happens when you have not one, but two variables in your model. We will also continue to use some old and new dplyr calls, as well as another parameter for our ggplot2...

View Article

Image may be NSFW.
Clik here to view.

Visualizing obesity across United States by using data from Wikipedia

In this post I will show how to collect from a webpage and to analyze or visualize in R. For this task I will use the rvest package and will get the data from Wikipedia. I got the idea to write this...

View Article


Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 5 – Analysis of Variance (ANOVA)

In today’s lesson we’ll take care of the baseline issue we had in the last lesson when we have a linear model with an interaction. To do that we’ll be learning about analysis of variance or ANOVA....

View Article

Image may be NSFW.
Clik here to view.

R for Publication by Page Piccinini: Lesson 6, Part 1 – Linear Mixed Effects...

In today’s lesson we’ll learn about linear mixed effects models (LMEM), which give us the power to account for multiple types of effects in a single model. This is Part 1 of a two part lesson. I’ll be...

View Article


Image may be NSFW.
Clik here to view.

Euro 2016 analytics: Who’s playing the toughest game?

I am really enjoying Uefa Euro 2016 Footbal Competition, even because our national team has done pretty well so far. That’s why after  browsing for a while statistics section of official EURO 2016...

View Article

Image may be NSFW.
Clik here to view.

What can we learn from the statistics of the EURO 2016 – Application of...

In this post I will try to explain how to perform a factor analysis (FA) on the statistics of the teams in the first round of Euro cup 2016. Meanwhile, I assume that you have enough background on the...

View Article

Image may be NSFW.
Clik here to view.

Map the Life Expectancy in United States with data from Wikipedia

Recently, I become interested to grasp the data from webpages, such as Wikipedia, and to visualize it with R. As I did in my previous post, I use rvest package to get the data from webpage and ggplot...

View Article
Browsing all 47 articles
Browse latest View live