coef.cox_cure: Estimated Covariate Coefficients

Description Usage Arguments Value

View source: R/coef.R

Description

Extract the covariate coefficient estimates from a fitted Cox cure rate model with possible uncertain event status.

Usage

1
2
3
4
5
## S3 method for class 'cox_cure'
coef(object, part = c("both", "survival", "cure"), ...)

## S3 method for class 'cox_cure_uncer'
coef(object, part = c("both", "survival", "cure"), ...)

Arguments

object

Object representing a fitted model.

part

A character string specifying the coefficient estimates from a particular model part. The available options are "both" for the coefficient estimates from both model parts, "survival" for the coefficient estimates from the survival model part, and "cure" for the coefficient estimates from the cure rate model part. The default option is "all".

...

Other arguments for future usage.

Value

If part = "both", this function returns a list that consists of the following named elements

Otherwise, a named numeric vector representing the coefficient estimates of the specified model part will be returned.


intsurv documentation built on Jan. 13, 2021, 3:46 p.m.