andersenplot {PHInfiniteEstimates} | R Documentation |
Plot hazards for two strata for each time. At times with an event in one but not the other group, the fitted hazard remains constant, and so the plot is a step function. If hazards are proportional between strata, then the plot should be close to a straight line.
Description
Plot hazards for two strata for each time. At times with an event in one but not the other group, the fitted hazard remains constant, and so the plot is a step function. If hazards are proportional between strata, then the plot should be close to a straight line.
Usage
andersenplot(fit)
Arguments
fit |
A coxph fit with a stratification term. |
[Package PHInfiniteEstimates version 2.9.5 Index]