Learn R Programming

NADA2 (version 1.1.4)

NADA2_survmean: Summary statistics of survival curve (from survival:::survmean)

Description

computes mean survival times consisent with survival:::survmean

Usage

NADA2_survmean(x, scale = 1, rmean)

Arguments

x

the result of a call to the survfit function.

scale

a numeric value to rescale the survival time, e.g., if the input data to survfit were in days, scale=365 would scale the printout to years.

rmean

restricted mean