2837 search results for "ggplot2"

licorice: plot Likert-like data

June 16, 2015
By
licorice: plot Likert-like data

I wanted to create a nice visualization from a survey data set. I quickly stumbled upon the likert package (go check it out). I did however have some trouble getting it to work the way I wanted. Therefore I made a quick implementation of my own that y...

Read more »

Visualization and Analysis of Reddit’s "The Button" Data

June 15, 2015
By
Visualization and Analysis of Reddit’s "The Button" Data

IntroductionPeople are weird. And if there's anything that's greater collective proof of this fact than Reddit, you'd be hard pressed to find it.I tend to put reddit in the same bucket as companies like Google, Amazon and Netflix, where they have enoug...

Read more »

Shiny Wool Skeins

June 15, 2015
By
Shiny Wool Skeins

Chaos is not a pit: chaos is a ladder (Littlefinger in Game of Thrones) Some time ago I wrote this post to show how my colleague Vu Anh translated into Shiny one of my experiments, opening my eyes to an amazing new world. I am very proud to present you the first Shiny experiment entirely … Continue reading...

Read more »

Plotting spatial neighbors in ggmap

June 15, 2015
By
Plotting spatial neighbors in ggmap

The R package spdep has great utilities to define spatial neighbors (e.g. dnearneigh, knearneigh, with a nice vignette to boot), but the plotting functionality is aimed at base graphics. If you’re hoping to plot spatial neighborhoods as line segments in ggplot2, or ggmap, you’ll need the neighborhood data to be stored in a data frame. So, to...

Read more »

HTTPS for CRAN: how and why

June 13, 2015
By
HTTPS for CRAN: how and why

R gained some basic support for https in version 3.2.0 (see NEWS) via the method = "libcurl" argument in base functions download.file and url. The global option download.file.method is used to make this the default. Unfortunately the implementation has a few limitations: there is no way to set request options (authentication, proxy,...

Read more »

ggtree with funny fonts

June 12, 2015
By
ggtree with funny fonts

showtext is a neat solution to use various types of fonts in R graphs and make it easy to use funny fonts. With showtext, we can draw phylogenetic tree with different types of fonts even with symbolic/icon fonts. Read More: 638 Words Totally

Read more »

Wanted: A Perfect Scatterplot (with Marginals)

June 11, 2015
By
Wanted: A Perfect Scatterplot (with Marginals)

We saw this scatterplot with marginal densities the other day, in a blog post by Thomas Wiecki: The graph was produced in Python, using the seaborn package. Seaborn calls it a “jointplot;” it’s called a “scatterhist” in Matlab, apparently. The seaborn version also shows the strength of the linear relationship between the x and y … Continue reading...

Read more »

ggtree with funny fonts

June 11, 2015
By
ggtree with funny fonts

showtext is a neat solution to use various types of fonts in R graphs and make it easy to use funny fonts. With showtext, we can draw phylogenetic tree with different types of fonts even with symbolic/icon fonts. require(showtext) font.add.google("Gochi Hand", "gochi") font.add.google("Rock Salt", "rock") link = "http://img.dafont.com/dl/?f=wm_people_1"; download.file(link, "wmpeople1.zip", mode = "wb"); unzip("wmpeople1.zip"); font.add("wmpeople1", "wmpeople1.TTF"); link = "http://img.dafont.com/dl/?f=emoticons"; download.file(link, "emoticons.zip", mode = "wb"); unzip("emoticons.zip"); font.add("emoticons", "emoticons.ttf"); showtext.auto() set.seed(2015-05-14) library(ggplot2) library(ggtree) tree <- rtree(30) ggtree(tree, color="darkgreen") + geom_tiplab(family="gochi") +...

Read more »

Graphs in R – Overlaying Data Summaries in Dotplots

June 9, 2015
By
Graphs in R – Overlaying Data Summaries in Dotplots

Dotplots are useful for the graphical visualization of small to medium-sized datasets. These simple plots provide an overview of how the data is distributed, whilst also showing the individual observations. It is however possible to make the simple dotplots more informative by overlaying them with data summaries and/or smooth distributions. This post is about creating

Read more »

Graphs in R – Overlaying Data Summaries in Dotplots

June 9, 2015
By
Graphs in R – Overlaying Data Summaries in Dotplots

Dotplots are useful for the graphical visualization of small to medium-sized datasets. These simple plots provide an overview of how the data is distributed, whilst also showing the individual observations. It is however possible to make the simple dotplots more informative by overlaying them with data summaries and/or smooth distributions. This post is about creating

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)