3903 search results for "git"

Plot R Data With googleVis

September 30, 2012
By

Here is a little code snippet that shows how to do two things Use the Google Maps API to resolve place names into lat-long coordinate pairs. Plot R dataframes that contain lat-long data (for example from #1) onto Google Maps for quick visualization using the googleVis package.  The embedded map looks a little wonky here but it looks...

Read more »

Quantifying student feedback using Org mode and R

September 30, 2012
By
Quantifying student feedback using Org mode and R

As the term has progressed, my LSM2241 lectures are getting more consistent. I’m aiming to use 45 slides for what is officially a two hour lecture, although in reality it lasts about 90 minutes. We take a break at about 50 … Continue reading →

Read more »

Weekend Reading – Gold in October

September 28, 2012
By
Weekend Reading – Gold in October

I recently came across the “An early Halloween for gold traders” article by Mark Hulbert. I have discussed this type of seasonality analysis in my presentation at R/Finance this year. It is very easy to run the seasonality analysis using the Systematic Investor Toolbox. This confirms that October have been historically bad for Gold, but

Read more »

Optimal seriation for your matrices

September 28, 2012
By
Optimal seriation for your matrices

In our previous post, we used a quick-and-dirty method for ordering the axes on our heatmap. It has been pointed out to me that There is a Package for That (which is my nominee for a new slogan for R — not that it needs a slogan). seriation offe...

Read more »

Reading and Text Mining a PDF-File in R

September 27, 2012
By
Reading and Text Mining a PDF-File in R

I just added this R-script that reads a PDF-file to R and does some text mining with it to my Github repo..

Read more »

Histogram + Density Plot Combo in R

September 27, 2012
By
Histogram + Density Plot Combo in R

Plotting a histogram using hist from the graphics package is pretty straightforward, but what if you want to view the density plot on top of the histogram? This combination of graphics can help us compare the distributions of groups.Let's use...

Read more »

The simplest Species Distribution Model in OpenBUGS & R

September 27, 2012
By

This post demonstrates the simplest Species Distribution Model based on logistic regression for presence/absence data. I heavily simplified the example from Kéry (2010): Introduction to WinBUGS for Ecologists, Chapter 20.Read more →

Read more »

Bounding sums of random variables, part 1

September 27, 2012
By
Bounding sums of random variables, part 1

For the last course MAT8886 of this (long) winter session, on copulas (and extremes), we will discuss risk aggregation. The course will be mainly on the problem of bounding  the distribution (or some risk measure, say the Value-at-Risk) for two random variables with given marginal distribution. For instance, we have two Gaussian risks. What could be be worst-case scenario...

Read more »

Simplest possible heatmap with ggplot2

September 27, 2012
By
Simplest possible heatmap with ggplot2

Featuring the lovely “spectral” palette from Colorbrewer. This really just serves as a reminder of how to do four things I frequently want to do: Make a heatmap of some kind of matrix, often a square correlation matrix Reorder a factor vari...

Read more »

Creating Scientific Posters using R, Latex, Beamer and Beamerposter

September 26, 2012
By
Creating Scientific Posters using R, Latex, Beamer and Beamerposter

A while ago I had the need to produce some posters that included lots of data (scientific style).  Having recently got back into R and learning LaTex I googled for a way to do this using R.  Here's what I found and ended up with, using R, LaT...

Read more »