Learn R Programming

morseTKTD (version 0.1.3)

ComputePredictSurvFit: Compute post value on object

Description

compute_Nsurv: compute the number of survival Nsurv

Usage

compute_Nsurv(x, ...)

compute_Ninit(x, ...)

# S3 method for SurvPredict compute_Nsurv(x, Ninit = NULL, ...)

Value

No return value, called for side effects. Return the same object after computing Number of survivor (Nsurv column) and number of initial individuals (Ninit column).

Arguments

x

an object of class SurvPredict

...

Further arguments to be passed to generic methods

Ninit

initial number of individual. Default is NULL.