1652 search results for "ggplot2"

How to work with Google n-gram data sets in R using MySQL

April 12, 2012
By
How to work with Google n-gram data sets in R using MySQL

In this R tutorial you will learn how to work with Google n-gram data sets with the help of MySQL. The complete R code is included in this post.

Read more »

Flying: Boredom and Terror

April 11, 2012
By
Flying: Boredom and Terror

Data represents all planes (not just commercial planes) for the United States"There are only two emotions on a plane: boredom and terror." -- Orson Welles, interview to celebrate his 70th birthday, The Times of London, 6 May 1985....

Read more »

The lm() function with categorical predictors

April 8, 2012
By
The lm() function with categorical predictors

What's with those estimates?By Ben OgorekIn R, categorical variables can be added to a regression using the lm() function without a hint of extra work. But have you ever look at the resulting estimates and wondered exactly what they were?First, let's define a data set.set.seed(12255)n = 30sigma = 2.0AOV.df <- data.frame(category = c(rep("category1", n)     ...

Read more »

An R programmer looks at Julia

April 7, 2012
By

In January of this year I first saw mention of the Julia language in the release notes for LLVM. I mentioned this to Dirk Eddelbuettel and later we got in contact with Viral Shahregarding a Debian package for Julia. There are many aspects of Julia tha...

Read more »

Simulated Annealing in Julia

April 4, 2012
By
Simulated Annealing in Julia

Building Optimization Functions for Julia In hopes of adding enough statistical functionality to Julia to make it usable for my day-to-day modeling projects, I’ve written a very basic implementation of the simulated annealing (SA) algorithm, which I’ve placed in the same JuliaVsR GitHub repository that I used for the code for my previous post about

Read more »

Enjoy Low Income Tax Rates

April 4, 2012
By
Enjoy Low Income Tax Rates

Tax rates were higher in the past...Joe derisively snorted at the pay stub in his hand. Crumpling it into a ball, he wound up like a baseball pitcher and fast-balled the wad of paper across the room. It bounced unsatisfyi...

Read more »

How R Searches and Finds Stuff

April 4, 2012
By
How R Searches and Finds Stuff

Or… How to push oneself down the rabbit hole of environments, namespaces, exports, imports, frames, enclosures, parents, and function evaluation?Motivation There are a few reasons to bother reading this post: Rabbit hole avoida...

Read more »

Review: Kölner R Meeting 30 March 2012

April 4, 2012
By
Review: Kölner R Meeting 30 March 2012

The first Kölner R user meeting was great fun. About 20 useRs had turned up to exchange their ideas, questions and experience with R. Three talks about R & Excel, ggplot2 & XeLaTeX and Dynamical systems with R & simecol had kicked off the evening, wit...

Read more »

CLIWOC (British, Spanish and Dutch shipping 1750-1855): Getting the data into R

April 3, 2012
By

on the Spatial analysis blog a nice visualisation of the major shipping route of the British, Dutch and Spanish fleet in 1750-1850 was presented recently. based on the Climatological Databases for the World's Oceans (CLIWOC). another even nicer visuali...

Read more »

Web-Scraping in R

April 2, 2012
By
Web-Scraping in R

Web-scraping, or web-crawling, sounds like a seedy activity worthy of an Interpol investigative department. The reality, however, is far less nefarious. Web-scraping is any procedure by which someone extracts data from the internet. Given that it’s possible to get the internet on computers these days; web-scrapping opens an array of interesting possibilities to social-science researchers

Read more »