Package: YPmodel 1.4
YPmodel: The Short-Term and Long-Term Hazard Ratio Model for Survival Data
Inference procedures accommodate a flexible range of hazard ratio patterns with a two-sample semi-parametric model. This model contains the proportional hazards model and the proportional odds model as sub-models, and accommodates non-proportional hazards situations to the extreme of having crossing hazards and crossing survivor functions. Overall, this package has four major functions: 1) the parameter estimation, namely short-term and long-term hazard ratio parameters; 2) 95 percent and 90 percent point-wise confidence intervals and simultaneous confidence bands for the hazard ratio function; 3) p-value of the adaptive weighted log-rank test; 4) p-values of two lack-of-fit tests for the model. See the included "read_me_first.pdf" for brief instructions. In this version (1.1), there is no need to sort the data before applying this package.
Authors:
YPmodel_1.4.tar.gz
YPmodel_1.4.zip(r-4.7)YPmodel_1.4.zip(r-4.6)YPmodel_1.4.zip(r-4.5)
YPmodel_1.4.tgz(r-4.6-any)YPmodel_1.4.tgz(r-4.5-any)
YPmodel_1.4.tar.gz(r-4.7-any)YPmodel_1.4.tar.gz(r-4.6-any)
YPmodel_1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
YPmodel/json (API)
| # Install 'YPmodel' in R: |
| install.packages('YPmodel', repos = c('https://junlongsun.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/junlongsun/ypmodel/issues
- gastric - Data from Gastrointestinal Tumor Study Group
Last updated from:ce7f466103. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 125 | ||
| source / vignettes | OK | 115 | ||
| linux-release-x86_64 | OK | 102 | ||
| macos-release-arm64 | OK | 122 | ||
| macos-oldrel-arm64 | OK | 221 | ||
| windows-devel | OK | 107 | ||
| windows-release | OK | 56 | ||
| windows-oldrel | OK | 61 | ||
| wasm-release | OK | 89 |
Exports:fun.adlgrkfun.classCheckfun.cumsumfun.errorMessagefun.flipudfun.generateParametersfun.hazardRationEstimationfun.hcvxitr1fun.internalParametersfun.martintfun.newBestfun.ntitr0fun.oldp2fun.Rjudgefun.survffun.variancefun.YPmodelOriginalfun.zeroORoneplot.YPmodelplot.YPmodel.estimateplot.YPmodel.IntervalBandsplot.YPmodel.lackfittestplot.YPmodel.martintplot.YPmodel.survfplot.YPmodel.survivorprint.YPmodelsummary.YPmodelsummary.YPmodel.adlgrksummary.YPmodel.estimatesummary.YPmodel.IntervalBandssummary.YPmodel.lackfittestsummary.YPmodel.overallYPmodelYPmodel.adlgrkYPmodel.defaultYPmodel.estimateYPmodel.inputDataYPmodel.IntervalBandsYPmodel.lackfittestYPmodel.setParameterYPmodel.setRandom
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| The short-term and long-term hazard ratio model for survival data | YPmodel-package |
| Data from Gastrointestinal Tumor Study Group | gastric gastric30 |
| A main function of package of model of short-term and long-term hazard ratio for survival data | plot.YPmodel print.YPmodel summary.YPmodel YPmodel YPmodel.default |
| Internal functions for Model of short-term and long-term hazard ratio for survival data | fun.adlgrk fun.classCheck fun.cumsum fun.errorMessage fun.flipud fun.generateParameters fun.hazardRationEstimation fun.hcvxitr1 fun.internalParameters fun.martint fun.newBest fun.ntitr0 fun.oldp2 fun.Rjudge fun.survf fun.variance fun.YPmodelOriginal fun.zeroORone summary.YPmodel.overall YPmodel-internal YPmodel.inputData YPmodel.setParameter YPmodel.setRandom |
| Adaptively weighted logrank test | summary.YPmodel.adlgrk YPmodel.adlgrk |
| YPmodel Estimate Parameters. | plot.YPmodel.estimate plot.YPmodel.survivor summary.YPmodel.estimate YPmodel.estimate |
| Beta confidential intervals & bands | plot.YPmodel.IntervalBands summary.YPmodel.IntervalBands YPmodel.IntervalBands |
| Martingale residual-based & contrast-based lack-of-fit tests | plot.YPmodel.lackfittest plot.YPmodel.martint plot.YPmodel.survf summary.YPmodel.lackfittest YPmodel.lackfittest |
