The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: R-Squared Measure under Accelerated Failure Time (AFT) Models
Version: 0.1.0
Description: Compute the R-squared measure under the accelerated failure time (AFT) models proposed in Chan et. al. (2018) <doi:10.1080/03610918.2016.1177072>.
License: GPL-3
Author: Yuyao Wang [cre, aut], Ronghui Xu [aut]
Maintainer: Yuyao Wang <yuw079@ucsd.edu>
Imports: survival
Encoding: UTF-8
NeedsCompilation: no
Packaged: 2023-08-20 01:19:00 UTC; wangyuyao
Repository: CRAN
Date/Publication: 2023-08-21 13:50:05 UTC

R-squared measure under the accelerated failure time (AFT) models.

Description

Compute the R-squared measure under the accelerated failure time (AFT) models proposed in the Chan et. al (2018) paper (DOI: 10.1080/03610918.2016.1177072).

Usage

aftR2(fit.AFT)

Arguments

fit.AFT

The fitted AFT model from the survival::survreg function

Value

The R-squared measure

Examples

library(survival)
fit.AFT = survreg(Surv(futime, fustat) ~ ecog.ps + rx, ovarian, dist='weibull')
aftR2(fit.AFT)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.