Site icon R-bloggers

Halloween 2011 count

[This article was first published on The stupidest thing... » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We don’t get many kids seeking candy at our house. I’m not sure if there just aren’t many kids in the neighborhood, or if it’s our location (next to the pond, with a big gap before the next house).

I decided to keep track. As usual, we bought a huge bag of candy, and we still had about half of it left to hand out tonight. But only 19 kids came.

They arrived pretty regularly from 5:50 to 7:50.

I comment on the figure’s style below.

In the above graph, I’m applying ideas learned from Dan Carr when I visited the statistics department at George Mason in September, to give a seminar. (I had a great time at GMU, particularly talking to Dan about graphics. I had a copy of his book about micromaps on my iPad, but hadn’t really looked at it until after I met him. Take a look at the first chapter; it’s full of good ideas and may convince you to read the rest.)


Update: The code I used for the figure is here. It’s old-fashioned and inefficient, but it works.


To leave a comment for the author, please follow the link and comment on their blog: The stupidest thing... » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.