Displaying 1 result from an estimated 1 matches for "cpfit".
Did you mean:
pfit
2004 Sep 03
1
Printing output on Plot
Hi,
I'm trying to print the p-values from the output of a CPH test onto a
Kaplan Meier plot. Can this be done? I only really want the p-values
from the CPH test to appear but if this can't be done I am willing to
have the entire CPH output.
This is what I am currently trying: (it doesn't print the CPH output)
plot_KM <- function(field)
{
library(survival)
y =