2507 search results for "ggplot2"

Making random draws from an arbitrarily defined pdf

July 23, 2014
By
Making random draws from an arbitrarily defined pdf

I recently found myself in need of a function to sample randomly from an arbitrarily defined probability density function. An excellent post by Quantitations shows how to accomplish this using some of Rs fairly sophisticated functional approximation to...

Read more »

Introducing tidyr

July 22, 2014
By
Introducing tidyr

tidyr is new package that makes it easy to “tidy” your data. Tidy data is data that’s easy to work with: it’s easy to munge (with dplyr), visualise (with ggplot2 or ggvis) and model (with R’s hundreds of modelling packages). The two most important properties of tidy data are: Each column is a variable. Each

Read more »

A Handy Trick for Remote Graphics

July 22, 2014
By
A Handy Trick for Remote Graphics

I often create plots that require quite a bit of computation.  Ideally I would run this on what I’ll call Machine A, which is a very fast machine, but I am often far away, on Machine B.  So, I’d like to run my computation on B but display it on A. For the platforms I

Read more »

There’s no mistake in the barley data

July 21, 2014
By
There’s no mistake in the barley data

Statistics has many canonical data sets. For classification statistics, we have the Fisher's iris data. For Big Data statistics, the canonical data set used in many examples is the Airlines data. And for dotplots, we have the barley data, first popularized by Bill Cleveland in the landmark 1993 text Visualizing Data. Cleveland's innovations in data visualiation were hugely influential...

Read more »

The Rise and Fall of the name Jennifer

July 19, 2014
By
The Rise and Fall of the name Jennifer

A recent fascinating post by Analysis at Large got me interested in naming trends analysis. The original post used Social Security data by state to map out the more frequent names by state. While this sounded interesting it turned out a single name (yo...

Read more »

Guns are cool – time effects

July 19, 2014
By
Guns are cool – time effects

September last year I made a post using the shootingtracker data. It is attempted in shootingtracker to register all shootings with at least four victims, be they wounded or dead. The data starts  January 1st 2013, which means that by now the...

Read more »

Batman’s Choice

July 18, 2014
By
Batman’s Choice

A hero can be anyone, even a man doing something as simple and reassuring as putting a coat on a young boy’s shoulders to let him know the world hadn’t ended (Batman in The Dark Knight Rises) Joker has captured Batman and keeps him into a dark and cold dungeon of Gotham City. Showing his sadistic character,

Read more »

RStudio Webinar with Hadley Wickham: The Grammar and Graphics of Data Science

July 17, 2014
By
RStudio Webinar with Hadley Wickham: The Grammar and Graphics of Data Science

RStudio has recently announced a series of free webinars open to the public. The first of these seminars is given by Hadley Wickham, Rice University Professor, RStudio Chief Scientist, and general super-star of the R development world. Contributing aut...

Read more »

Why hadn’t I written a function for that?

July 16, 2014
By
Why hadn’t I written a function for that?

I’m often typing the same bits of code over and over. Those bits of code really should be made into functions. For example, I’m still using base graphics. (ggplot2 is on my “to do” list, really!) Often some things will be drawn with a slight overlap of the border of the plotting region. And in

Read more »

Pick a Color Site built in R with Shiny tags %$%

July 16, 2014
By

I started down the color path with yesterday’s post Palette of Colors from Image %>% ggplot2 %>% rCharts + dimple.js.  Although R has lots of tools, such as RColorBrewer and the mentioned rPlotter, javascript does too with Gregor Aisch's chroma.js and this translated-from-Perl color-scheme-js. I figured I should explore these javscript color tools but not in the easy way. ...

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)