2506 search results for "ggplot2"

Choroplethr, ggplot2 and R-Hub

December 22, 2015
By
Choroplethr, ggplot2 and R-Hub

Choroplethr v3.3.1 is now on CRAN. You can get it by typing the following from the R command line: Note that while the new version is now on CRAN, it sometimes takes a few days for all of the CRAN mirrors to update. If you are unable to get the latest version from CRAN, you can The post

Read more »

geom_christmas_tree(): a new geom for ggplot2 v2.0

December 17, 2015
By
geom_christmas_tree(): a new geom for ggplot2 v2.0

Version 2.0 of the ggplot2 package (on GitHub) has a very nice mechanism for adding new geoms and stats (more about it here). Christmas are coming, so maybe one would like to make his plots more tree’ish? Below you will find a definition of geom_christmas_tree() geom. It supports following aesthetics: size (number of segments), fill, … Czytaj dalej...

Read more »

[R-bloggers]RcmdrPlugin.KMggplot2_0.2-1 is on CRAN now

December 14, 2015
By
[R-bloggers]RcmdrPlugin.KMggplot2_0.2-1 is on CRAN now

I posted a new version of the ”RcmdrPlugin.KMggplot2” package, which is an Rcmdr plug-in for a ”ggplot2” GUI front-end. RcmdrPlugin.KMggplot2 (CRAN) NEWS Changes in version 0.2-1 (2015-12-14) Kaplan-Meier plot: fixed a bug was caused by a tie data handli

Read more »

Automate the Boring Stuff: GGPlot2

November 26, 2015
By
Automate the Boring Stuff: GGPlot2

The majority of my interaction with the ggplot2 package involves the interactive execution of code to visualize data within the context of exploratory data analysis. This is often a manual process and quite laborious. I recently sought to improve these tasks by creating a series of user defined functions that contained my most commonly used

Read more »

Visualizing MLS Player Salaries with ggplot2

November 23, 2015
By
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 the graph, the graph still looks pretty cool. Data The data is contained in this pdf file. I obtained a CSV file

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

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 »

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

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)