Other packages > Find by keyword >

YPmodelPhreg  

The Short-Term and Long-Term Hazard Ratio Model with Proportional Adjustment
View on CRAN: Click here


Download and install YPmodelPhreg package within the R console
Install from CRAN:
install.packages("YPmodelPhreg")

Install from Github:
library("remotes")
install_github("cran/YPmodelPhreg")

Install by package version:
library("remotes")
install_version("YPmodelPhreg", "1.0.0")



Attach the package and use:
library("YPmodelPhreg")
Maintained by
Daewoo Pak
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-07-05
Latest Update: 2023-07-05
Description:
Provides covariate-adjusted comparison of two groups of right censored data, where the binary group variable has separate short-term and long-term effects on the hazard function, while effects of covariates such as age, blood pressure, etc. are proportional on the hazard. The model was studied in Yang and Prentice (2015) <doi:10.1002/sim.6453> and it extends the two sample version of the short-term and long-term hazard ratio model proposed in Yang and Prentice (2005) <doi:10.1093/biomet/92.1.1>. The model extends the usual Cox proportional hazards model to allow more flexible hazard ratio patterns, such as gradual onset of effect, diminishing effect, and crossing hazard or survival functions. This package provides the following: 1) point estimates and confidence intervals for model parameters; 2) point estimate and confidence interval of the average hazard ratio; and 3) plots of estimated hazard ratio function with point-wise and simultaneous confidence bands.
How to cite:
Daewoo Pak (2023). YPmodelPhreg: The Short-Term and Long-Term Hazard Ratio Model with Proportional Adjustment. R package version 1.0.0, https://cran.r-project.org/web/packages/YPmodelPhreg. Accessed 08 Aug. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited YPmodelPhreg R package
View YPmodelPhreg citation profile
Other R packages that YPmodelPhreg depends, imports, suggests or enhances
Complete documentation for YPmodelPhreg
Functions, R codes and Examples using the YPmodelPhreg R package
Full YPmodelPhreg package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

Morpho  
Calculations and Visualisations Related to Geometric Morphometrics
A toolset for Geometric Morphometrics and mesh processing. This includes (among other stuff) mesh d ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
box  
Write Reusable, Composable and Modular R Code
A modern module system for R. Organise code into hierarchical, composable, reusable modules, and us ...
Download / Learn more Package Citations See dependency  
skewt  
The Skewed Student-t Distribution
Density, distribution function, quantile function and random generation for the skewed t distributio ...
Download / Learn more Package Citations See dependency  
FastGaSP  
Fast and Exact Computation of Gaussian Stochastic Process
Implements fast and exact computation of Gaussian stochastic process with the Matern kernel using fo ...
Download / Learn more Package Citations See dependency  
productplots  
Product Plots for R
Framework for visualising tables of counts, proportions and probabilities. The framework is called ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,752

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA