2966 search results for "GIS"

Pareto plot with ggplot2

February 23, 2013
By

A Pareto chart, named after Vilfredo Pareto, is a type of chart that contains both bars and a line graph, where individual values are represented in descending order by bars, and the cumulative total is represented by the line (quoted from Wikipedia). ...

Read more »

The Financial Crisis on Tape Part I

February 23, 2013
By
The Financial Crisis on Tape Part I

Hello and welcome to Joe's Data Diner's first ever post!Today, I will touch on both R and Finance, but I'll try and make it accesible for those with an interest in either and not just Quants like myself!Almost everyone is now aware that asset correlati...

Read more »

Simulating Population Growth in Cities Using R

February 23, 2013
By
Simulating Population Growth in Cities Using R

R is great for anyone who wants to get started on learning Simulation. (Both Discrete Event or Agent-based, with stochastic elements in the process.) This post is inspired by Matt Asher's "quick-and-dirty" R simulation work on Population Growth. Matt u...

Read more »

Additional Plots on French Breakpoints as Valuation

February 21, 2013
By
Additional Plots on French Breakpoints as Valuation

I feel like there might be some merit in Slightly Different Measure of Valuation using Ken French’s Market(ME) to Book(BE) Breakpoints by percentile to offer an additional valuation metric for US stocks.  I thought some additional plots might he...

Read more »

Elevation Profiles in R

February 21, 2013
By
Elevation Profiles in R

First, let's load up our data. The data are available in a gist. You can convert your own GPS data to .csv by following the instructions here, using gpsbabel.gps <- read.csv("callan.csv",  header = TRUE)Next, we can use the function SMA fr...

Read more »

Model Selection and Multi-Model Inference

February 20, 2013
By
Model Selection and Multi-Model Inference

At D-RUG this week Rosemary Hartman presented a really useful case study in model selection, based on her work on frog habitat. Here is her code run through ‘knitr’. Original code and data are posted here. (yes, I am just doing this for the flying monkey) Editor’s note: we’re giving away flying monkey dolls from our...

Read more »

Fixing My Internet With R and Python

February 20, 2013
By
Fixing My Internet With R and Python

Last summer, I had some internet connectivity problems. Specifically, I would have massive latency issues that affected my conversations on Skype and my relatively pathetic under the best of circumstances efforts at online gaming. It was driving me up a wall and I couldn't figure it out. It hadn't...

Read more »

Another Way to Look at Vanguard and Pimco

February 20, 2013
By
Another Way to Look at Vanguard and Pimco

I like the results of the analysis shown in my post Applying Tradeblotter’s Nice Work Across Manager Rather than Time, but I was not satisfied that the plot allowed a quick summary comparison of the two massive fund complexes.  I am much more pl...

Read more »

Progress bar in R

February 20, 2013
By

A decent percentage of working time in R, I spend looping over chromosomes, transcription factors or tissues, usually, using parallelization.To get the stuff to run simultaneously I use the foreach function from the doMC package, and for monitoring of ...

Read more »

Onepager Now with knitR

February 19, 2013
By

Since at some point I had trouble with a conflict between knitr and the latex package textpos, I used the lesser Sweave in Another Experiment with R and Sweave.  I ran the Sweave2knitr command and discovered that textpos and knitr play well togeth...

Read more »