3539 search results for "git"

GitHub Stats on Programming Languages

August 9, 2010
By
GitHub Stats on Programming Languages

GitHub has become a popular site for Open Source Developers to stash code and collaborate on projects.  The following are some stats and analysis related to programming languages in use based upon the number of users and repositories.  T...

Read more »

Example 8.2: Digits of Pi, redux

July 12, 2010
By
Example 8.2: Digits of Pi, redux

In example 8.1, we considered some simple tests for the randomness of the digits of Pi. Here we develop a different test and implement it. If each digit appears in each place with equal and independent probability, then the places between recurrences...

Read more »

Example 8.1: Digits of Pi

July 6, 2010
By
Example 8.1: Digits of Pi

Do the digits of Pi appear in a random order? If so, the trillions of digits of Pi calculated can serve as a useful random number generator. This post was inspired by this entry on Matt Asher's blog. Generating pseudo-random numbers is a key piece o...

Read more »

Here’s the distribution of the first million digits of the…

June 20, 2010
By
Here’s the distribution of the first million digits of the…

Here’s the distribution of the first million digits of the square root of two’s decimal expansion. Number of digits | is:   0's |  99 818  1's |  98 926  2's | 100 442  3's | 100 191  4's | 100 031  5's | 100 059  6's |  99 885  ...

Read more »

Multilevel and Longitudinal Modeling in Stata

December 22, 2009
By

For my "off-task" reading I recent perused an excellent book on multilevel and longitudinal modeling in Stata by Sophia Rabe-Hesketh and Anders Skrondal. The second edition (which I read) has been updated by including several chapters providing an over...

Read more »

Using Git with R-Forge OR Adding an local Git branch to track an Subversion Repo

December 3, 2009
By

These instructions were originally from instructions from my friend Charlie. I really like to use Github but R-Forge has alot of nice features for package development, so why not get the best of both worlds. Say you have a git repo (with an R package or something else) but want to create a local brach

Read more »

Set the significant digits for each column in a xtable for fancy Sweave output

June 26, 2009
By
Set the significant digits for each column in a xtable for fancy Sweave output

This tip may be useful in the situations when you need to set the number of digits to print for the different columns in a matrix/data.frame to be outputted as a LaTeX table.  For example:#install.packages("xtable") #library(xtable) tmp <- m...

Read more »

Old tails: a crude power law fit on ebook sales

April 18, 2014
By
Old tails: a crude power law fit on ebook sales

We use R to take a very brief look at the distribution of e-book sales on Amazon.com. Recently Hugh Howey shared some eBook sales data spidered from Amazon.com: The 50k Report. The data is largely a single scrape of statistics about various anonymized books. Howey’s analysis tries to break sales down by declared category andRelated posts:

Read more »

Date formating in R

April 18, 2014
By

As I often manipulate time series from different sources, I rarely come across the same date format twice. Having to reformat the dates every time is a real waste of time because I never remember the syntax of the as.Date function. I put below a few examples that turn strings into standard R date format.

Read more »

Reot: Empirical Orthogonal Teleconnections in R

April 18, 2014
By
Reot: Empirical Orthogonal Teleconnections in R

We are happy to introduce Reot, an R package designed for empirical orthogonal teleconnection (EOT) analysis of gridded geo-scientific space-time data based on the method by van den Dool et al. (2000). EOT denotes a regression-based approach to decompose spatio-temporal … Continue reading →

Read more »