ComputePredictSurvFit {morseTKTD}R Documentation

Compute post value on object

Description

compute_Nsurv: compute the number of survival Nsurv

Usage

compute_Nsurv(x, ...)

compute_Ninit(x, ...)

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

Arguments

x

an object of class SurvPredict

...

Further arguments to be passed to generic methods

Ninit

initial number of individual. Default is 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).


[Package morseTKTD version 0.1.3 Index]