BayesFactor version 0.9.7 has been released to CRAN. It does have a few bug fixes, so update soon. A list of changes can be found in the NEWS file. [Read more...]
Symmetry is what we see at a glance (Blaise Pascal) Ladies and gentlement, the beautiful Marilyn Monroe: There are several image processing packages in R. In this experiment I used biOps, which turns images into 3D matrices. The third dimension is a 3-array corresponding to (r, g, b) color of ... [Read more...]
Sometimes programs generate a LOT of files while running scripts. Usually these are important (why else would you be running the script?). However, sometimes scripts generate mountains of temporary files to create summary outputs that aren’t really useful in their … Continue reading →
[Read more...]
In most languages return is a statement, but in R it is a function (in fact R does not really have statements, it only has expressions). This function-like behavior of return is useful for figuring out the order in which operations are performed, e.g., the value returned by return(1)+... [Read more...]
While browsing through different sites, I randomly cam across the ominous-sounding disaster center website. There is a fair amount of data that could be analyzed there, but my attention was caught by an entry stating that they had just updated the “1965 to 2012 State Crime Pages”. From there, I chose the ... [Read more...]
In the previous post, I introduced the logic of Bayes factors for one-sample designs by means of a simple example. In this post, I will give more detail about the models and assumptions used by the BayesFactor package, and also how to do simple analyses of two- sample designs.See ... [Read more...]
For a long time now I've wanted to add the ability for storing data from twitteR into a RDBMS. In the past I've done things by concatenating new results onto old results which simply becomes unwieldy. I know that many people have doctored up their own ... [Read more...]
Recently I spoke at the Toronto Data Science group. The folks at Mozilla were kind enough to record it and put it on Air, so here it is for your viewing pleasure (and critique):Overall it was quite well received. Aside from the usual omg does my voice ... [Read more...]
A lot of progress has been made on improving political scientists’ ability to access data ‘programmatically’, e.g. data can be downloaded with source code R. Packages such as WDI for World Bank Development Indicator and dvn for many data sets stored on the Dataverse Network make it much easier ... [Read more...]
In order to celebrate my Gmisc-package being on CRAN I decided to pimp up the forestplot2 function. I had a post on this subject and one of the suggestions I got from the comments was the ability to change the default box marker to something else. This idea had been ... [Read more...]
We’re very pleased to announce the release of qdap 1.1.0 This is the fourth installment of the qdap package available at CRAN. Major development has taken place since the last CRAN update. The qdap package automates many of the tasks … Continue reading →
Approximately a year ago I made a post graphing unemployment in Europe and other locations. I have always wanted to do this again, not because the R-code would be so interesting, but just because I wanted to see the plots. As time progressed I attempte... [Read more...]
Rcpp can be used to convert basic R data types to and from Boost.Geometry models.
In this example we take a matrix of 2d-points and convert it into a Boost.Geometry polygon. We then compute the convex hull of this polygon using a Boost.Geometry function boost::geometry::convex_...
A new maintenance release of the RcppBDT package is now on CRAN. There is no
new code in this; it mainly accomodates a request by CRAN to standardize the
\code{Imports:} and \code{Depends:} relationships in the \code{DESCRIPTION}
file. We also updated... [Read more...]
A pure maintenance release of
RDieHarder
is now on CRAN. RDieHarder provides R bindings for the DieHarder battery of
tests for random number generators by Brown et al.
This release contains no new code, but the vignette needed to be moved from
inst... [Read more...]
In the video below from The Atlantic, the differences in the way US citizens describe or pronounce various things is illustrated in a series of phone calls (via Sullivan): If you're wondering how your dialect fits in, you can try the New York Times Dialect Quiz. Answer 25 questions, and it ... [Read more...]
I am really happy to share some great news with all R users about some upcoming conferences in the near future. The calls for papers are still active for all three below events that I plan to visit, I hope I could meet more and more useRs there!The closest ...
Graham Williams is the Lead Data Scientist at the Australian Taxation Office, and the creator of Rattle, an open-source GUI for data mining with R. (Check out some recent reviews/demos of Rattle on this blog here and here.) Dr Williams continues his many contributions to the R community with ... [Read more...]
There is a lot not yet fully understood about rebalancing in portfolio management. This 2013 paper from Nardon and Kiskiras is the best I have read yet. Kiskiras, John and Nardon, AndreaPortfolio Rebalancing: A Stable Source of AlphaJanuary 18, 2013... [Read more...]