April 2013

Dynamic Wrapping and Recursion with Rcpp

April 8, 2013 | Rcpp Gallery

We can leverage small parts of the R’s C API in order to infer the type of objects directly at the run-time of a function call, and use this information to dynamically wrap objects as needed. We’ll also present an example of recursing through a list. To get ...
[Read more...]

Next Kölner R User Meeting: 12 April 2013

April 8, 2013 | Markus Gesmann

Quick reminder: The next Cologne R user group meeting is scheduled for this Friday, 12 April 2013. We will discuss cluster analysis and shiny. Further details and the agenda are available on our KölnRUG Meetup site. Please sign up if you would like to come along. Notes from the last Cologne ... [Read more...]

Dirichlet Process, Infinite Mixture Models, and Clustering

April 7, 2013 | Wesley

The Dirichlet process provides a very interesting approach to understand group assignments and models for clustering effects.   Often time we encounter the k-means approach.  However, it is necessary to have a fixed number of clusters.  Often we encounter situations where we don’t know how many fixed clusters we need.  ... [Read more...]

A quick guide to non-transitive Grime Dice

April 7, 2013 | Corey Chivers

A very special package that I am rather excited about arrived in the mail recently. The package contained a set of 6-sided dice. These dice, however, don’t have the standard numbers one to six on their faces. Instead, they have assorted numbers between zero and nine. Here’s the ... [Read more...]

Mastering Matrices

April 7, 2013 | Slawa Rokicki

R has many ways to store information.  Most of the time, our data comes in the form of a dataset, which we bring into R as a data.frame object. However, there are times when we want to use matrices as well. This post will show you how matrices can... [Read more...]

Sync

April 7, 2013 | Wingfeet

I am listening to the audiobook Sync: How Order Emerges from Chaos in the Universe, Nature, and Daily Lifeby Steven Strogatz which I got from Audible. Obviously a mathematical book is not ideal to listen to, but lacking illustrations I can ma... [Read more...]

Travis CI for R?

April 7, 2013 | Yihui Xie

I'm always worried about CRAN: a system maintained by FTP and emails from real humans (basically one of Uwe, Kurt or Prof Ripley). I'm worried for two reasons: the number of R packages is growing exponentially; time and time again I see frustrations ... [Read more...]

Fractal Fern

April 5, 2013 | Frank Portman

I’m gonna share a short code snippet that I thought was interesting. This post is inspired by one of my engineering computation classes at Rice. The program initializes a pair of coordinates ‘z’ and iteratively updates z by matrix multiplication based on some random number generation criteria. After each ... [Read more...]

Worry about correctness and repeatability, not p-values

April 5, 2013 | John Mount

In data science work you often run into cryptic sentences like the following: Age adjusted death rates per 10,000 person years across incremental thirds of muscular strength were 38.9, 25.9, and 26.6 for all causes; 12.1, 7.6, and 6.6 for cardiovascular disease; and 6.1, 4.9, and 4.2 for cancer (all P __ 0.01 for linear [...] Related posts:Level fit summaries can be ... [Read more...]

Organise your data

April 5, 2013 | Ewen Harrison

Use R to specify factors, recode variables and begin by-group analyses. Video Files This file contains data on pain score after laparoscopic vs. open hernia repair. Age, gender and primary/recurrent hernia also included. The ultimate aim here is to work out which of these factors are associated with more ... [Read more...]
1 9 10 11 12 13 14

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)