3543 search results for "git"

"Dominant" Color Palettes with k-means

November 27, 2012
By
"Dominant" Color Palettes with k-means

The idea of deriving color palettes from images has long been an interest of mine. There are places you can do this online, but it’s at least plausible that you might want to identify dominant colors programatically, for a large number of image...

Read more »

Image Manipulation in R, Part 1

November 26, 2012
By
Image Manipulation in R, Part 1

So, you know how to load PNG files, access their innards, and plot them as points in a scatter plot. But, is it possible to use R to do some of the awesome things you can do with Mathematica? Well, in this series of posts, I’ll introduce just ...

Read more »

is.invasive( )

November 26, 2012
By
is.invasive( )

Celebrating that I am contributing to the R-bloggers.com blog aggregator I am going to post a very simple function to check which species (both plants and animals) are considered “invaders” somewhere in the world. Basically the function asks that to … Continue reading →

Read more »

Discovering the quality of portfolio decisions

November 26, 2012
By
Discovering the quality of portfolio decisions

Performance analysis of an example portfolio. The portfolio We explore a particular portfolio during 2007.  It invests in S&P 500 stocks and starts the year with a value of $10 million.  Initially there are 50 names in the portfolio.  It also ends the year with 50 names but has up to 53 names during the … Continue reading...

Read more »

why and how to install monetdb with r on windows

November 26, 2012
By

warning: the instructions below are obsolete.  please check this page for the latest version.  <3 anthony whya speed test of three sql queries on sixty-seven million records using my personal computer --# calculate the sum, mean, median, a...

Read more »

R is (Almost) Platform Independent

November 23, 2012
By

I write R scripts on both my laptop and desktop, so the main issue I have is making sure that the R scripts are updated on these devices. There are several ways to ensure this happens:Use a version control system (on the cloud), e.g GithubWrite R scrip...

Read more »

IPython vs knitr, or Python vs R

November 23, 2012
By
IPython vs knitr, or Python vs R

I watched this video by Fernando Pérez a few days ago when I was reading a comment by James Correia Jr on Simply Statistics:This is absolutely a fantastic talk that I recommend everybody to watch (it is good in both the form and content). Not surprisingly, I started thinking ipython vs knitr. Corey Chivers said we could...

Read more »

project euler: problem 61

November 22, 2012
By

Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following formulae:Triangle P3,n=n(n+1)/2 1, 3, 6, 10, 15, ...Square P4,n=n2 ...

Read more »

We NEED more data

November 22, 2012
By
We NEED more data

Email One of the historic difficulties of doing research on urban energy systems has been the limited availability of data at sufficiently detailed spatial resolutions. Without this data, you might end up relying on aggregate information about the built environment, building occupants, and local geography that doesn't apply to the specifics of a particular neighbourhood

Read more »

Connecting R to an Oracle database with RJDBC

November 22, 2012
By

In many circumstances, you might want to connect R directly to a database to store and retrieve data.  If the source database is an Oracle database, you have a number of options: ROracle RODBC RJDBC   Using ROracle should theoretically… Read more ›

Read more »