3152 search results for "Ggplot"

Visualizing Chess Data With ggplot

October 29, 2015
By
Visualizing Chess Data With ggplot

There are nice visualizations from chess data: piece movement, piece survaviliy, square usage by player, etc. Sadly not always the authors shows the code/data for replicate the final result. So I wrote some code to show how to do some this great visualizations entirely in R. Just for fun. The Data Piece Movements Survival rates Square usage by player Distributions for the first...

Read more »

Mapping with ggplot: Create a nice choropleth map in R

October 27, 2015
By

I was working on making a map in R recently and after an extensive search online, I found a hundred different ways to do it and yet each way didn't work quite right for my data and what I wanted to do. Eventually, I found a way to make it work after p...

Read more »

QuantumPlots with ggplot2 and spatstat

October 19, 2015
By
QuantumPlots with ggplot2 and spatstat

Overview Introduction Function Introduction Lately, I was plotting a lot of spatial statistic functions, comparing them and trying to make a sense out of them. To facilitate the procedure I wrote the following function to create a plot for the spatstat class ‘fv’, combined with ‘Quantum Plots’ from: Esser, D. S., Leveau, J. H....

Read more »

QuantumPlots with ggplot2 and spatstat

October 19, 2015
By
QuantumPlots with ggplot2 and spatstat

Introduction Lately, I was plotting, comparing and trying to make a sense out of a lot of spatial statistic functions. To facilitate the procedure I wrote the following function to create a plot for the spatstat class ‘fv’, combined with 'Quantum Plots' from: Esser, D. S., Leveau, J. H. J., Meyer, K. M., & Wiegand, K. (2014). Spatial scales of...

Read more »

QuantumPlots with ggplot2 and spatstat

October 19, 2015
By
QuantumPlots with ggplot2 and spatstat

Overview Introduction Function Introduction Lately, I was plotting, comparing and trying to make a sense out of a lot of spatial statistic functions. To facilitate the procedure I wrote the following function to create a plot for the spatstat class ‘fv’, combined with ‘Quantum Plots’ from: Esser, D. S., Leveau, J. H....

Read more »

Seasonal adjusment on the fly with X-13ARIMA-SEATS, seasonal and ggplot2

October 9, 2015
By
Seasonal adjusment on the fly with X-13ARIMA-SEATS, seasonal and ggplot2

Calling seasonal adjustment software from R I recently explored for the first time (having languished on the “check this out later” list) Christoph Sax’s excellent {seasonal} R package. It makes it super easy for R users to engage with X-13ARIMA-SEATS, the latest industry standard software for time series analysis and in particular seasonal adjustment of official statistics...

Read more »

Visualizing Sort Algorithms With ggplot

September 24, 2015
By
Visualizing Sort Algorithms With ggplot

Have you read Visualizing Algorithms by Mike Bostock? It's a pure gold post. In that post Mike show a static representation of a sort algorith and obvious it will fun to replicate that image with ggplot. So here we go. We need some sorts algorihms. In this link you can see some algorithms. We start with Insertion Sort: insertion_sort_steps <- function(x ...

Read more »

Visualizing Sort Algorithms With ggplot

September 24, 2015
By
Visualizing Sort Algorithms With ggplot

Have you read Visualizing Algorithms by Mike Bostock? It's a pure gold post. In that post Mike show a static representation of a sort algorith and obvious it will fun to replicate that image with ggplot. So here we go. We need some sorts algorihms. In this link you can see some algorithms. We start with Insertion Sort: insertion_sort_steps <- function(x ...

Read more »

Using the ggplot2 library in R

September 20, 2015
By
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: install.packages('ggplot2') library(ggplot2) qplot qplot is the quickest way to get off the ground running. For this demonstration, we will use

Read more »

TIL what happens if you use %>% instead of + in ggplot2

September 16, 2015
By

This post is about ggplot2 and dplyr packages, so let’s start with loading them: I can’t be the first person to make the following mistake: Can you spot the mistake in the code above? Look closely at the end of the first … Continue reading →

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training





Contact us if you wish to help support R-bloggers, and place your banner here.

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)