# A short example of use of Addreg version 2: # , 2001-12-01 # Use source("path/addreg.R") to read the source code # for Addreg version 2 (beta) # (where "path" is the path to the folder that contains the downloaded file) # We perform addtive hazard regression: (syntax is analogous to "coxph") orodata.ah <- addreg(Surv(Time,Status)~Sex+Treatment,orodata) # Plotting of results: plot(orodta.ah) # Printing of results from estimating and tests: summary(orodata.ah)