Posts Tagged ‘ None ’

Make Safari behave as Firefox

Make Safari behave as Firefox

Some weeks ago I switched from Firefox to Safari. While Safari is -- in my experience -- quicker, better looking, and has Top Sites, I was also missing some functionality of firefox. To be more precise, I missed the 'search when start typing' option, a...

Read more »

Measuring performance of functions in R

Measuring performance of functions in R

In R you can use the system.time(function) function to test the time it takes to execute a function. Because I had to do some extended performance testing in R, I wrote a new function based on system.time which gives you the possibility to run multiple...

Read more »

Set your R working directory in TextWrangler

Set your R working directory in TextWrangler

Yesterday I figured out (together with a friend, Leendert) how to set your R working directory to the path of the current document you're working on in TextWrangler. We developed two scripts: one for setting the working directory of R directly, and one...

Read more »

Region Of Interest analysis of BOLD data

Region Of Interest analysis of BOLD data

For my research I do Region-Of-Interest (ROI) analyses of BOLD fMRI data. That is, we look at how brain activity develops in certain predefined brain regions during an experiment. On this site I describe a script that automates these analyses, using SP...

Read more »

Labeled outliers in R boxplot

Labeled outliers in R boxplot

Boxplots are a good way to get some insight in your data, and while R provides a fine ‘boxplot’ function, it doesn’t label the outliers in the graph. However, with a little code you can add labels yourself:The numbers plotted next to ...

Read more »

Don’t group Figures in Word

Don’t group Figures in Word

One of my ongoing annoyances with Microsoft Word is its inability to handle figures in a consistent way. The last quirk I discovered is the following: if you group a figure with a textbox -- something often done for creating captions -- the print quali...

Read more »

InDesign: Export Selection to PDF

InDesign: Export Selection to PDF

I abuse Adobe InDesign sometimes for creating artwork, for instance to make gant diagrams. Usually, I do not want to export a complete page to pdf in those cases, but only the boxes and text that’s going to make up the illustration. Automaticatio...

Read more »

Customizing R: startup script

Customizing R: startup script

While R is certainly a great tool, some functions seem to be missing. Take for instance the standard error, for some reason there is no standard function included, while you would expect se(x) to work. Therefore I usually include a couple of functions,...

Read more »

Analyzing Nike+ using R

Analyzing Nike+ using R

A couple of weeks ago, I finally took up running seriously. To keep myself motivated -- especially on dark winter nights -- I bought the Nike+ iPod sports kit. The sports kit was developed by a partnership of Nike and Apple, and consists of a tiny acce...

Read more »