Learn R Programming

PHInfiniteEstimates (version 1.6)

convertstoml: Convert a proportional hazards regression to a multinomial regression.

Description

Convert a proportional hazards regression to a multinomial regression.

Usage

convertstoml(survobj, covmat)

Arguments

survobj

A survival object, with potentially right censoring.

covmat

a matrix of covariates.

Value

a data set on which to apply conditional multinomial regression, corresponding to the proportional hazards regression analysis.

Details

Implements version of kz19PHInfiniteEstimates. The proportional hazards regression is converted to a multinomial regression logistic regression, and methods of kolassa16PHInfiniteEstimates may be applied. This function is intended to produce intermediate results to be passed to convertmtol, and then to reduceLR of kolassa97PHInfiniteEstimates. See examples in the convertmtol documentation.

References

kolassa97PHInfiniteEstimates

kolassa16PHInfiniteEstimates

kz19PHInfiniteEstimates