Here are instructions on how to download and install the addreg R package

developed by Harald Wedon-Fekj�r on a PC running Windows.

The package makes it possible to fit Aalen's additive regression model

 

1) Go to http://www.med.uio.no/imb/stat/addreg/beta/Addreg-beta.html

 

2) Download the file "addreg.R" (to be found far down on the page)

and save it in the directory where you start R

 

3) Start R and source the file by the command source("addreg.R")

 

4) You are now ready to fit the additive regression model using the command addreg

(which has a syntax similar to coxph). For documentation, see addreg-docpages.pdf