# NOT RUN {
data(melanoma, package="nltm")
fit1 <- nltm(formula1=Surv(time,status) ~ size + stage,
formula2=Surv(time,status) ~ size, data=melanoma, nlt.model="PHPHC")
anova(fit1)
anova(fit1,test=TRUE)
fit2 <- nltm(formula1=Surv(time,status) ~ size + stage + age,
formula2=Surv(time,status) ~ size + age, data=melanoma, nlt.model="PHPHC")
anova(fit1,fit2,test=TRUE)
# }
Run the code above in your browser using DataLab