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 26 Jun. 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

ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
PoisBinOrdNor  
Data Generation with Poisson, Binary, Ordinal and Normal Components
Generation of multiple count, binary, ordinal and normal variables simultaneously given the marginal ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
colormap  
Color Palettes using Colormaps Node Module
Allows to generate colors from palettes defined in the colormap module of 'Node.js'. (see ...
Download / Learn more Package Citations See dependency  
tactile  
New and Extended Plots, Methods, and Panel Functions for 'lattice'
Extensions to 'lattice', providing new high-level functions, methods for existing functions, panel f ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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