# NOT RUN {
#get dataset from package
data(crossdata)
#
#if there exist differences at 1 year or 3 years
#Gaynor
fixpoint(crossdata$time, crossdata$status, crossdata$group, timepoint=1, type=1)
#Aalen
fixpoint(crossdata$time, crossdata$status, crossdata$group, timepoint=3, type=2)
# }
Run the code above in your browser using DataLab