plot.Y Pmodel and print.Y Pmodel, are also included to demonstrate the results.YPmodel(...)
## S3 method for class 'default':
YPmodel(data, startPoint, nm, maxIter1, maxIter2, repNum, ...)
## S3 method for class 'YPmodel':
print(x, ...)
## S3 method for class 'YPmodel':
summary(object, ...)
## S3 method for class 'YPmodel':
plot(x, ...)YPmodel, basically a list including elementsYPmodel.inputData.YPmodel.estimate.YPmodel.IntervalBands.YPmodel.lackfittest.YPmodel.adlgrk.YPmodel.estimate,
YPmodel.IntervalBands,
YPmodel.lackfittest,
YPmodel.adlgrklibrary(YPmodel)
data(gastric)
result <- YPmodel(gastric, repNum=100)
summary(result)
plot(result)Run the code above in your browser using DataLab