September 2011

A Note on Antoniak’s Approximation for Dirichlet Processes

September 21, 2011 | BioStatMatt

Antoniak's 1974 article titled Mixtures of Dirichlet Processes with Applications to Bayesian Nonparametric Problems (Annals of Statistics 2(6):1152-1174) is a fundamental work for most modern developments in this area. The article gives two expressions for the expected number of distinct values in a sample of size n, drawn from a Dirichlet ... [Read more...]

Solvency 2 WordCloud

September 21, 2011 | Phil Joubert

Slow day at PSY headquarters: Click see wordleWe grabbed the Solvency II directive text from the EC website (© European Union, http://eur-lex.europa.eu/) and ran it through a couple of lines of R code to draw up wordcount frequencies. Then we plotted the text in Wordlehttp://www.wordle.net/... [Read more...]

Climate Reference Network: package crn 1.0

September 20, 2011 | Steven Mosher

I’ve just finished and uploaded another climate data package for R. This one focuses on  CRN the climate Reference Network Here is their home page   The package for now is really simple, but all of the packages  I’m building are getting simpler. In the end ( whenever that is ) ... [Read more...]

Children height and blood pressure z-scores

September 20, 2011 | nzcoops

Following on from some of my earlier posts, this is purely about, hopefully, saving some other people some time in putting this together. Height z-scores are required to then calculate the blood pressure z-scores. The CDC (Center for Disease Control … Continue reading → [Read more...]

Package ‘intergraph’ (1.1-0) released!

September 20, 2011 | Michał

I just released the first official version of the ‘intergraph’ R package. With the functions provided in the current version (1.1-0) you can convert network data objects between classes ‘igraph’ and ‘network’. The package supports directed and undirected networks, and handles the node, tie, and network (graph) attributes. Mutliplex networks (... [Read more...]

Cricket All Round Performances

September 19, 2011 | Ralph

In cricket a player who can perform well with both the bat and bowl is a great asset for any team and across the history of international cricket there have been a number of cricketers that hall into this bracket. It is difficult to specify a set of criteria to ... [Read more...]

About commercial publishers

September 19, 2011 | xi'an

Julien Cornebise has [once again!] pointed out a recent Guardian article. It is about commercial publishers of academic journals, mainly Elsevier, Springer, and Wiley, with a clear stand from its title: “Academic publishers make Murdoch look like a socialist“! The valuable argument therein is that academic publishers make hefty profits (... [Read more...]

Using jri to connect JAVA to R

September 19, 2011 | George

The R package rJava allows R to be accessed in Java programs. The part of the package that allows this is jri. The notes on the rJava site about getting jri to work didn’t help me much getting it to … Continue reading → [Read more...]

Appendable saving in R

September 19, 2011 | mbq

One of the most crucial problems in HPC is that every error you make have much greater impact than in the normal computing — there is nothing more amusing than finding out that few-day simulation broke few minutes before the end because of an unfortunate value thrown by a random generator, ... [Read more...]

rgdal + raster + RCurl = My next package

September 18, 2011 | Steven Mosher

This package has been a long time in the making.  In the end it’s more of a data package than a functional package, but pulling all the pieces together required me to learn some really cool packages: raster ( which I already knew ) rgdal and RCurl.  I’ll provide a ... [Read more...]

DTW: dynamic time warping 动态时间规整

September 18, 2011 | Xianjun Dong

Basically, DTW (dynamic time warping) is an algorithm to output cumulative distance of two time sequences, which is widely used e.g. for classification and clustering.For example, when using k-mean for clustering, we can use DTW as distance function. Here is one of such nice instances (using R: http://... [Read more...]
1 2 3 4 5 6 10

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)