1815 search results for "ggplot2"

March Madness! Wanna Win?

March 14, 2012
By
March Madness! Wanna Win?

Description: Winning percentage of all NCAA Men's Basketball Tournament Champions. Analysis: Down by one, the ball spins in his hand as he dribbles up the floor. With tennis shoes squeaking, he feints left, then right. Glancing up at the clock,...

Read more »

Visualising F1 Telemetry Data and Plotting Latitude and Longitude with ggplot Map Projections in R

March 14, 2012
By
Visualising F1 Telemetry Data and Plotting Latitude and Longitude with ggplot Map Projections in R

Why don’t X-Y plots of latitude and longitude data look “right” compared to traditional map views? For example, here’s an X-Y scatterplot of some of Jenson Button’s McLaren telemetry data from the 2010 Australian Formula One Grand Prix: The image was generated, from a data file hosted on Google Spreadsheets, using the following R script,

Read more »

R code for Chapter 2 of Non-Life Insurance Pricing with GLM

March 13, 2012
By
R code for Chapter 2 of Non-Life Insurance Pricing with GLM

We continue working our way through the examples, case studies, and exercises of what is affectionately known here as “the two bears book” (Swedish björn = bear) and more formally as Non-Life Insurance Pricing with Generalized Linear Models by Esbjörn Ohlsson and Börn Johansson (Amazon UK | US

Read more »

R code for Chapter 2 of Non-Life Insurance Pricing with GLM

March 13, 2012
By
R code for Chapter 2 of Non-Life Insurance Pricing with GLM

We continue working our way through the examples, case studies, and exercises of what is affectionately known here as “the two bears book” (Swedish björn = bear) and more formally as Non-Life Insurance Pricing with Generalized Linear Models by Esbjörn Ohlsson and Börn Johansson (Amazon UK | US). At...

Read more »

In case you missed it: February Roundup

March 13, 2012
By

In case you missed them, here are some articles from February of particular interest to R users. February 29 marked the 12th anniversary of the release of R 1.0.0, and the release of R 2.14.2. A list of commercial vendors who have integrated R with their products for data, analysis, and presentation. The rmr package (part of the RHadoop...

Read more »

R index between two products is somewhat dependent on other products

March 12, 2012
By
R index between two products is somewhat dependent on other products

I explained earlier how R-index is used in sensory is used to examine ranking data. The legitimization to use R-index is in the link with d' and with Mann-Whitney statistic. In this post I show there is a dependence on the number of products and p...

Read more »

Compiling government positions from the Manifesto Project data with R

March 12, 2012
By
Compiling government positions from the Manifesto Project data with R

The Manifesto Project (former Manifesto Research Group, Comparative Manifestos Project) has assembled a database of ‘quantitative content analyses of parties’ election programs from more than 50 countries covering all free, democratic elections since 1945′ and is freely accessible online. The … Continue reading →

Read more »

The R-Podcast Episode 3: Basic Interaction with R

March 11, 2012
By

In this episode: New versions of R and ggplot2 available, listener feedback, and an interactive session with R. The R code discussed in this episode will be available in our GitHub repository, see the show notes for details. There will be a companion screencast to accompany this episode which will be posted shortly. As always,

Read more »

Recovering Marginal Effects and Standard Errors of Interactions Terms Pt. II: Implement and Visualize

March 9, 2012
By
Recovering Marginal Effects and Standard Errors of Interactions Terms Pt. II: Implement and Visualize

In the last post I presented a function for recovering marginal effects of interaction terms. Here we implement the function with simulated data and plot the results using ggplot2.       #---Simulate Data and Fit a linear model with an...

Read more »

Recovering Marginal Effects and Standard Errors of Interactions Terms Pt. II: Implement and Visualize

March 9, 2012
By
Recovering Marginal Effects and Standard Errors of Interactions Terms Pt. II: Implement and Visualize

In the last post I presented a function for recovering marginal effects of interaction terms. Here we implement the function with simulated data and plot the results using ggplot2.       #---Simulate Data and Fit a linear model with an...

Read more »