JAGS, rjags, and coda packages for Fedora

Christopher has the RPMs (for Fedora users) for JAGS, coda, and rjags on his blog. The specific blog entry is here: http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/ If you have trouble installing JAGS or rjags in Fedora, this is going to simplify the installation … Continue reading

My mi presentation at the useR! 2009

I have been to many conferences. Most of them are of Political Science. The common feature of these conferences is that the audience size is always small. If you get 10 audiences in your panel, your must be a big name.My presentation at the useR! 2009 was an exception. I had the biggest … Continue reading

useR! 2009 conference, Rennes, France

Since my last attendance of the useR conference in Vienna, Austria, I have always wanted to go back. However, the high registration fee was always the factor that chills me off.This year, I am taking advantage of my last year as the student (the registration fee is cheaper) and the sponsorship of … Continue reading

Simulate parameters of a tobit model

I got an email, asking me if our arm package can simulate tobit model to get simulated parameters. Indeed, arm does not suport tobit model. It only support sim() for lm, glm and mer classes in R. But it is not difficult to get a tobit verison of sim(). Here are the steps:1. fit a tobit (or … Continue reading

Our new R package: R2jags

I have got emails occasionally from JAGS users, asking about our new R package: R2jags. Basically, R2jags runs JAGS via R and makes postanalysis easier to be done in R. Taking advantage of the functions provided by JAGS, rjags and R2WinBUGS, R2jags allows users to run BUGS … Continue reading

Install JAGS and rjags in Fedora

JAGS was developed to help those non-Window users to be able to use BUGS. However, I found it is very hard to install JAGS and its R package-rjags. Here is my note on how to install JAGS and rjags in Fedora 10. The note here should work for all Linux systems.Compile JAGS1. Download JAGS source … Continue reading

RWinEdt and Windows Vista/Window 7

As a R user, I like to use RWinEdt as the text editor. I write code on it and send code to R by clicking buttons.I had a spare laptop from Jennifer. It does not have a working screen. I use that to test all kinds of software and OS systems. Recently, I gave up trying to use Fedora (Linux OS). … Continue reading

Plot symbols in R

In the plot environment, the "pch" parameter decides the symbol of your output. There are about 130 symbols hard coded and passed into "pch."However, there are still some symbols that are not in these 130 pch's. For instance, there is no checkmark. To plot checkmark or other symbols, we can use … Continue reading

Plotting Math in R

Plotting math in R can be acheived using the expression(). To know detailed usage, in R console,demo(plotmath)But expression() is not flexible when you want to plot math symbols and parameters altogether. In this case, we use bquote() which is actually a wraper for substitute() and quote(). It … Continue reading