Skip to content

Category Archives: Link

Some Lessons

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an […]

ProPublica’s Guide to Mechanical Turk

ProPublica’s Guide to Mechanical Turk seems to definitely be worth a read.

Reading Codebook Files in R

Here is a great discussion about how to automatically utilize codebooks in R via r-bloggers.

Perl regex builder in emacs

Perl regex builder in emacs Read the wiki and there are 2 options Best is this Roughly confirmed that is the best and newest Set up an el-get for it tonight Played around for while can’t get el-get to load it I can’t even load it myself Probably my fault Posted ticket on github page […]

Edit a source block with its name shown in org

My preference is to rely upon heading property inheritance to define source block names. That way, you can just do your work knowing “where” you are working and keep it simple by not having to name everything. That was just fine until I wrote a document where I needed to name each source block. It […]

quantmod Quantitative Financial Modelling & Trading Framework for R

The quantmod package for R is designed to assist the quantitative trader in the development, testing, and deployment of statistically based trading models. What quantmod IS A rapid prototyping environment, where quant traders can quickly and cleanly explore and build trading models. What quantmod is NOT A replacement for anything statistical. It has no ‘new’ […]

Help Changing the Throttle Cable on a C10

When observing the bike from the RH side, rotate the center cable mechanism CW so the carbs are at full throttle. This will bring the “pull” cable access “notch” so it faces the rear of the bike, and more accessible from the top. During the time you are rotating the mechanism, pay attention to the […]

Exemple Complet Minimal

This is a French acronym used by some mailing list members; it stands for “Exemple Complet Minimal”, or “Complete Minimal Example”. The term refers to test files that can reliably reproduce a bug with the minimal amount of code.

Seal the wiring deal

use butt connectors, ring terminals, and spade clips ad a good crimper. Before crimping, I’ll coat the wire end and the connector with a dielectric paste, avoiding silicon sealer, as it can shrink and allow moisture in. A layer of heat-shrink tubing guarantees a water tight worry free connection.

Nice example of converting wide to tall data with tidyr

Nice example. > x <- structure(c(1961, 1961, 1961, 1961, 1, 1, 1, 1, 1, 2, 3 + , 4, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 + , 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 + , 28, 29, 30, 31, 32, […]