# R

Blogs on the R software.

## Monotonic Sequential Continuity

September 2, 2014
By

This problem is the continuation of my previous post on Monotonic Sequence.ProblemProve the following: If $A_k$ is monotone, then \mathrm{P}\left(\displaystyle\lim_{n\to\infty} A_n\right)=\displaystyle\lim_{n\to \infty}\mathrm{P}(A_n)....

September 2, 2014
By

The Google Charts API is quite powerful and via googleVis you can access it from R. Here is an example that demonstrates how you can zoom into your chart. In the example below I set the maximum zoom level to 5% of the chart. Drag and pan with a left mo...

## Beta binomial revisited

August 31, 2014
By

I got some comments on my priors of last week's post where better priors were proposed. Hence this week's post looks at them. After some minor adaptations, since I have nine beta parameters and beta needs to be fairly high, I can conclude that these pr...

## Monotonic Sequence

August 29, 2014
By

Analysis with Programming has recently been accepted as a contributing blog on Mathblogging.org, a blogosphere aiming to be the best place to discover mathematical writing on the web. And as a first post, being a member of the said site, I will do prov...

## Yet another R package primer

August 28, 2014
By

Hadley Wickham is writing what will surely be a great book about the basics of R packages. And Hilary Parker wrote a very influential post on how to write an R package. So it seems like that topic is well covered. Nevertheless, I’d been thinking for some time that I should write another minimal tutorial […]

## R Workshops Updated to Include the Latest Packages

August 27, 2014
By

Two new R packages are quickly becoming standards in the R community: Hadley Wickham’s dplyr and tidyr. The dplyr package almost completely replaces his popular plyr package for data manipulation. Most importantly for general R use, it makes it much easier … Continue reading →

August 26, 2014
By

Over the weekend we released version 0.1.8 of the ChainLadder package for claims reserving on CRAN. What is claims reserving?The insurance industry, unlike other industries, does not sell products as such but promises. An insurance policy is a promise ...

## JAGS and Stan

August 24, 2014
By

During the last year I have been running some estimations in both JAGS and Stan. In that period I have seen one example where JAGS could not get me decent samples (in the sense of low Rhat and high number of effective samples) but that was data which I...

## R Passes SPSS in Scholarly Use, Stata Growing Rapidly

August 20, 2014
By

by Robert A. Muenchen Here is my latest update to The Popularity of Data Analysis Software. To save you the trouble of reading all 25 pages of that article, the new section is below. The two most interesting nuggets it contains are: … Continue reading →

## Hijacking R Functions: Changing Default Arguments

August 19, 2014
By

I am working on a package to collect common regular expressions into a canned collection that users can easily use without having to know regexes. The package, qdapRegex, has a bunch of functions in the form of rm_xxx. The only … Continue reading →