Blog Archives

Probably the most useful R function I’ve ever written

August 15, 2016
By

The function in question is scriptSearch. I’m not much for superlatives — “most” and “best” imply one dimension, but we live in a multi-dimensional world. I’m making an exception. The statistic I have in mind for this use of “useful” is the waiting time between calls to the function divided by the human time saved The post

Read more »

Source for the marketAgent R package

May 21, 2016
By

I recently gave a talk at the R in Finance conference in which I introduced the marketAgent package for R. Here is the source for the package if you’d like to play with it: marketAgent_0.000.tar I’ll be giving more details of the talk real soon now. The post Source for the marketAgent R package appeared first on

Read more »

Review of ‘Advanced R’ by Hadley Wickham

May 24, 2015
By
Review of ‘Advanced R’ by Hadley Wickham

Executive summary Surprisingly good. And it’s not like my expectations were especially low. Structure There are 20 chapters.  I mostly like the chapters and their order. Hadley breaks the 20 chapters into 4 parts.  He’s wrong.  Figure 1 illustrates the correct way to formulate parts. Figure 1: Chapters and Parts of Advanced R.    Introductory R There The post

Read more »

The wings of a programmer

April 12, 2015
By
The wings of a programmer

Programmers think programming is really hard.  Non-programmers think it’s even harder than that. Figure 1: The perceived difficulty of programming.  Why is programming so arduous? There are a few reasons.  Here is one. Wings Programming is exacting, programming needs creativity. These are absolutely at odds with each other. One wing wants the programmer to respect every The post

Read more »

An experience of EARL

January 2, 2015
By
An experience of EARL

Coordinates: 2014 September 15-17 in the London borough of #rstats. 15th, evening I had just the right number of R bugs so that I could walk to the drinks and arrive fashionably late.  On the way, I realized that I hadn’t been near the Tower of London since the first year I moved to London even The post

Read more »

21 R navigation tools

August 17, 2014
By
21 R navigation tools

Navigation gets you from where you are to where you want to be. Speaking of navigation, you can jump to selected sections of this post: Navigation; R-bloggers; Task views; Rdocumentation.org; sos package; ??; apropos; ls; methods; getAnywhere; :::; find; args; grep; %in%; str; getwd; file.choose; Spyglass summary; browser; See also. Overview Figure 1: A map The post

Read more »

The TaoTeProgramming R package

June 29, 2014
By
The TaoTeProgramming R package

I’d like to do a song of great social and political import. The code that created the illustrations in Tao Te Programming is now available as the TaoTeProgramming package on CRAN. The sea is just flat hills And they are both just smooth mountains. The package contains just over 1000 lines of code.  More than The post

Read more »

An xts R Inferno-ism

February 7, 2014
By

Another of the all ye entering here. Issue When subscripting an xts object, columns that don’t exist in the object are silently ignored. Example First, create an xts object: xtx <- xts(cbind(a=1:4, b=11:14, c=21:24), order=Sys.Date() + 1:4) which looks like: > xtx a b c 2014-02-07 1 11 21 2014-02-08 2 12 22 2014-02-09 3 The post

Read more »

From spreadsheet thinking to R thinking

January 7, 2014
By
From spreadsheet thinking to R thinking

Towards the basic R mindset. Previously The post “A first step towards R from spreadsheets” provides an introduction to switching from spreadsheets to R.  It also includes a list of additional posts (like this one) on the transition. Add two columns Figure 1 shows some numbers in two columns and the start of adding those The post From...

Read more »

Blog recap of 2013

December 31, 2013
By

Posts by page views Interview with a forced convert to R from Matlab A first step towards R from spreadsheets Plot ranges of data in R A statistical review of ‘Thinking, Fast and Slow’ by Daniel Kahneman The 3 dots construct in R Translating between R and SQL: the basics An R debugging example R The post Blog...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)