Print Survival Curve Difference Test

DESCRIPTION:
Prints the results from a test of the difference between survival curves using the output from surv.diff. This function is deprecated.

USAGE:
print.surv.diff(x, digits=4)

REQUIRED ARGUMENTS:
x:
output list from the surv.diff function. Generally, an object of class "surv.diff".

OPTIONAL ARGUMENTS:
digits:
number of significant digits to use in the printout.

SIDE EFFECTS:
A table is printed with columns giving the group label, the (weighted) number of events observed, the expected number of events, and (O-E)^2/E. The sum of the latter is an approximation to the chi-square statistic. The actual chi-square statistic is also printed along with its p-value.

DETAILS:
Prints the results of the tests of the difference between two or more survival curves using the G-rho family of tests. The test is performed by the function surv.diff.

SEE ALSO:
surv.diff .

EXAMPLES:
cancer.sdf <- surv.diff(cancer$time, cancer$status, cancer$inst, rho=.5)
print.surv.diff(cancer.sdf)
cancer.sdf                 # This will automatically print the nice table
print(cancer.sdf)          # This will too.