2778 search results for "ggplot"

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 »

Roll Your Own Stats and Geoms in ggplot2 (Part 1: Splines!)

September 8, 2015
By
Roll Your Own Stats and Geoms in ggplot2 (Part 1: Splines!)

A huge change is coming to ggplot2 and you can get a preview of it over at Hadley’s github repo. I’ve been keenly interested in this as I will be fixing, finishing & porting coord_proj to it once it’s done. Hadley & Winston have re-built the ggplot2 with an entirely new object-oriented system called ggproto.

Read more »

Tutorials freely available of course I taught: including ggplot2, dplyr and shiny

September 5, 2015
By

I was asked to write a R course for a group of innovative companies in the North of the Netherlands. The group of 12 people was a mix of engineers and programmers, and the course aimed at giving them a… See more ›

Read more »

embeding a subplot in ggplot via subview

August 30, 2015
By
embeding a subplot in ggplot via subview

I implemented a function, subview, in ggtree that make it easy to embed a subplot in ggplot. An example is shown below: Read More: 131 Words Totally

Read more »

Coloring (and Drawing) Outside the Lines in ggplot

August 27, 2015
By
Coloring (and Drawing) Outside the Lines in ggplot

Time for another Twitter-inspired blog post this week, this time from a tweet by @JonKalodimos: Is there a way to do this in #rstats #ggplot2 https://t.co/kxWQFlYpbB— Jonathan Kalodimos (@JonKalodimos) August 27, 2015 I had seen and appreciated Ann’s post on her makeover of the main graphic in NPR’s story and did a quick mental check

Read more »

Sponsors

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)