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 »

RSiteCatalyst Version 1.4 Release Notes

September 1, 2014
By
RSiteCatalyst Version 1.4 Release Notes

It felt like it would never happen, but RSiteCatalyst v1.4 is now available on CRAN! There are numerous changes in this version of the package, so unlike previous posts, there won’t be any code examples. THIS VERSION IS ONE BIG BREAKING CHANGE While not the most important improvement, it can’t be stressed enough that migrating Related posts:

Read more »

Attention Is Preference: A Foundation Derived from Brand Involvement Segmentation

September 1, 2014
By
Attention Is Preference: A Foundation Derived from Brand Involvement Segmentation

"A wealth of information creates a poverty of attention."Herbert SimonWe categorize our world so that we can ignore most of it. In order to see figure, everything else must become ground. Once learned, the process seems automatic, and we forget how har...

Read more »

5 Ways to Do 2D Histograms in R

September 1, 2014
By
5 Ways to Do 2D Histograms in R

Introduction Lately I was trying to put together some 2D histograms in R and found that there are many ways to do it, with directions on how to do so scattered across the internet in blogs, forums and of course, Stackoverflow.As such I thought I'd give each a go and also put all of them together here...

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, different IDEs, my first R package, roxygen, GitHub, the devtools wiki, StackOverflow, my first useR! conference, continuous integration tools and e.g. participating in the Google Summer of Code. Probably I will...

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, including use of the fabulous new docopt package by Edwin de Jonge which makes command-...

Read more »

Yihui Xie, the useR! 2014 Interview

September 1, 2014
By
yyyyyyyyyyyyyyyyyyihui

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 points The post Points Per Touch (PPT): Running Backs appeared first on Fantasy Football Analytics.

Read more »

Rmetrics Software News

September 1, 2014
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

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 the latest version of H2O, labeled Lagrange (2.6.0.11), to the R and greater data science communities. Before joining 0xdata, I was working at a competitor on a rival project and was repeatedly asked...

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 seen anything this bad for a long time. In fact, I think I would find it very difficult to reproduce using R, or even Excel (which is particularly adept at...

Read more »

BayesFactor version 0.9.8 released to CRAN

August 31, 2014
By

BayesFactor version 0.9.8 has been released on CRAN! This is a both a bug fix and feature update. From the NEWS: Fixed bugs in model enumeration code Fixed bug leading to wrong computation of number of covariate when interactions between cont...

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 You decide you want store your data in MongoDB instead of … Continue reading →

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 plants; … Continue reading →

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 have nine beta parameters and beta needs to be fairly high, I can conclude that these pr...

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 electorate have been persuaded towards the alternative between PT and PSDB. The values I used to start the chains, my initial beliefs, were that Dilma would

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. FSA Changes All code that used ageKey(), ageKeyPrep(), and ageKeyPlot() should … Continue reading →

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 out pbapply().  This function is great too (and works on all … Continue reading →

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 Boost.Any library --- as requested by a fellow package maintainer needing it for a pe...

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 it compromises several language constructs and makes you learn more by trying to...

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 a page in your browser since uz. resolves to 91.212.89.8). This is quick work with R and the resolv & iptools packages, plus I threw in a little...

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 #1 response. (R was also the #1 response in similar polls in 2013, 2012 and 2011.) The top 5 selections of the 719 respondents were: R (352 respondents) SAS (262)...

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 keep the pulse on education analytics and the role they play in i...

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 years. For the last four months, the pace has been over 50 meetings per month. n There are now 147 user groups listed in Revolution Analytics' Local R User Group...

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 Scholar in Argentina and a Student Fellow of the Harvard Law School Program on the Legal Profession, and wrote about the Supreme Court for SCOTUSblog.com. Emailing… Continue reading →

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 an R package. So it seems like that topic is well covered. Nevertheless, I’d been thinking for some time that I should write another minimal tutorial

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 adjectives). Ratings were collected for emotional valence (bad vs. good), arousal (the grade of valence) and imaginability (how well you can imagine the specific word). Please note, that I cannot...

Read more »