format.SurvivalAnalysisMultivariateResult: Formats a SurvivalAnalysisMultivariateResult for printing

Description Usage Arguments Value

View source: R/cox.R

Description

Formats a SurvivalAnalysisMultivariateResult for printing

Usage

1
2
## S3 method for class 'SurvivalAnalysisMultivariateResult'
format(x, ..., p_precision = 3, hr_precision = 2, p_less_than_cutoff = 0.001)

Arguments

x

The result generated by analyse_multivariate

...

Further arguments passed from other methods.

p_precision, hr_precision

Precision with which to print floating point values

p_less_than_cutoff

Cut-off for small p values. Values smaller than this will be displayed like "<..."

Value

A formatted string, ready for output with cat()


survivalAnalysis documentation built on Feb. 11, 2022, 5:07 p.m.