Labor day distribution fun

September 1, 2014
By
Labor day distribution fun

Pinned, entropy augmented, digitally normal distribution, of no particular work-related use and thus perfectly suitable for today. Code in R: iters = 1000 sd = 2 precision = 20   results = rep(0,iters)   for(i in 1:iters) { x = floor(rnorm(20,5,sd) %% 10) results = paste(c('.',x),sep="",collapse="") }   results = as.numeric(results)   plot(density(results,bw=.01),col="blue",lwd=3,bty="n")

Read more »

EditorConfig: force unified coding style from all your contributors

September 1, 2014
By
EditorConfig: force unified coding style from all your contributors

In the past 10 years since I started using R, there were a series of things that changed the way I code (in chronological sequence): my first R function,...

Read more »

littler 0.2.0

September 1, 2014
By
littler 0.2.0

We are happy to announce a new release of littler. A few minor things have changes since the last release: A few new examples were added or updated,...

Read more »

Yihui Xie, the useR! 2014 Interview

September 1, 2014
By

In science consensus is irrelevant. What is relevant is reproducible results. The greatest scientists in history...

Read more »

Points Per Touch (PPT): Running Backs

September 1, 2014
By
Points Per Touch (PPT): Running Backs

Overview American writer Lewis Grizzard once said that “The game of life is a lot like football. You have to tackle your problems, block your fears, and score your...

Read more »

Introducing H2O Lagrange (2.6.0.11) to R

September 1, 2014
By

From my perspective the most important event that happened at useR! 2014 was that I got to meet the 0xdata team and now, long story short, here I am introducing...

Read more »

A new candidate for worst figure

August 31, 2014
By
A new candidate for worst figure

Today I read a paper that had been submitted to the IJF which included the following figure along with several similar plots. (Click for a larger version.) I haven’t...

Read more »

MongoDB – State of the R

August 31, 2014
By
MongoDB – State of the R

Naturally there are two reasons for why you need to access MongoDB from R: MongoDB is already used for whatever reason and you want to analyze the data stored therein...

Read more »

Periodic matrix model for annual plant demography

August 31, 2014
By
Periodic matrix model for annual plant demography

Let’s challenge to build a matrix population model of annual organisms and then calculate the population growth rate λ using R. Consider a simple life cycle of imaginary annual...

Read more »

Beta binomial revisited

August 31, 2014
By

I got some comments on my priors of last week's post where better priors were proposed. Hence this week's post looks at them. After some minor adaptations, since I...

Read more »

Forecasts After Marina’s Turbulence

August 30, 2014
By
Forecasts After Marina’s Turbulence

It’s more difficult than ever to tell who is going to continue in the runoff after the October 5th. After Marina’s campaign mate’s death, a big chunk of the...

Read more »

Age-Length Keys in FSA

August 30, 2014
By
Age-Length Keys in FSA

I have updated the age-length key related functions in FSA and the age-length key vignette.  The details are below.   Let me know if you have questions or suggestions....

Read more »

pbapply()

In my previous post, I wrote about displaying a Windows progress bar (useful when going through long for-loops).  In the comments, a couple of users recommended that I check...

Read more »

BH release 1.54.0-4

August 29, 2014
By

Another small new release of our BH package providing Boost headers for use by R is now on CRAN. This one brings a one-file change: the file any.hpp comprising the...

Read more »

LED is my new Hello World – R Time

LED is my new Hello World – R Time

Yep...as I have said many times before, the LED Number application has become my new Hello World...whenever I learn a new programming language I try to build this, because...

Read more »

How unusual is it for TLDs to resolve to an address at the top most level? (a.k.a. a sneaky, basic introduction to dplyr)

August 29, 2014
By
How unusual is it for TLDs to resolve to an address at the top most level? (a.k.a. a sneaky, basic introduction to dplyr)

I saw this on Hacker News this morning and it got me curious as to how many other TLDs (e.g. .com) resolve to an address (i.e. http://uz./ displays...

Read more »

R tops KDNuggets data analysis software poll for 4th consecutive year

August 29, 2014
By
R tops KDNuggets data analysis software poll for 4th consecutive year

KDNuggests asked its readers the question "What programming/statistics languages you used for an analytics / data mining / data science work in 2014?" and one again, R was the...

Read more »

Comparing ATR order sizing to max dollar order sizing

August 29, 2014
By
Comparing ATR order sizing to max dollar order sizing

First off, it has come to my attention that some readers have trouble getting some of my demos to work … Continue reading →

Read more »

Launching DATA-COPE

August 28, 2014
By

Really excited to launch my new website  - DATA-COPE, a place for education data analysts to share ideas, learn about the latest tools and policies affecting their work, and to...

Read more »

Matt Dowle’s data.table Talk from useR! 2014

August 28, 2014
By

Matt Dowle holds a wealth of knowledge and is worth listening to for a variety...

Read more »

R User Group Roundup

August 28, 2014
By
R User Group Roundup

by Joseph Rickert In the first half of 2014, worldwide R user group activity continued to increase, showing impressive growth over the same periods for the past couple of...

Read more »

A Brief Introduction to Plotly

August 28, 2014
By
A Brief Introduction to Plotly

This is a guest post by Matt Sundquist. Matt studied philosophy at Harvard and is a Co-founder at Plotly. He previously worked for Facebook’s Privacy Team, has been a Fulbright...

Read more »

Yet another R package primer

August 28, 2014
By
Yet another R package primer

Hadley Wickham is writing what will surely be a great book about the basics of R packages. And Hilary Parker wrote a very influential post on how to write...

Read more »

Getting emotional in the absence of something: Using the Berlin Affective Word List to analyze emotional valence and arousal for nouns and adjectives.

August 28, 2014
By
Getting emotional in the absence of something: Using the Berlin Affective Word List to analyze emotional valence and arousal for nouns and adjectives.

This is something I did a while ago using the Berlin Affective Word List (BAWL).The BAWL contains ratings for 2902 German words (2107 nouns, 504 verbs, 291...

Read more »

The Andrica’s Conjecture

August 27, 2014
By
The Andrica’s Conjecture

Things should be as simple as possible, but not simpler (Albert Einstein) Following with conjectures about primes, it is time for Andrica’s conjecture. The great mathematician Leonhard Euler (1707-1783) pointed:...

Read more »

New Wine in an Old Bottle: R Markdown v2 and R Studio on the Cent OS Server

August 27, 2014
By

Introduction New Pandoc Installing LaTeX Packages Introduction R Markdown Version 2 is a boon to students: with a single click one can convert an R...

Read more »

DataScienceLA interviews David Smith

August 27, 2014
By

While I was in LA for the useR! 2014 conference last month, I had the great pleasure of being among the participants in the DataScienceLA interview series hosted by...

Read more »

statebins – U.S. State Cartogram Heatmaps in R

August 27, 2014
By
statebins – U.S. State Cartogram Heatmaps in R

UPDATE The statebins package is now available on CRAN I became enamored (OK, obsessed) with a recent visualization by the WaPo team which @ryanpitts tweeted and dubbed statebins:

Read more »

R Workshops Updated to Include the Latest Packages

August 27, 2014
By
R Workshops Updated to Include the Latest Packages

Two new R packages are quickly becoming standards in the R community: Hadley Wickham’s dplyr and tidyr. The dplyr package almost completely replaces his popular plyr package for data...

Read more »