library(YPmodel)
data(gastric)
LackFitTest <- YPmodel.lackfittest(data=gastric, repNum=100)
summary.YPmodel.lackfittest(LackFitTest)
plot(LackFitTest)
plot.YPmodel.martint(LackFitTest)
plot.YPmodel.survf(LackFitTest)Run the code above in your browser using DataLab