Learn R Programming

FunSurv (version 1.0.0)

basesurv: A function to obtain the baseline survival function

Description

A function to obtain the baseline survival function

Usage

basesurv(object)

Value

A data frame including time and baseline survival

Arguments

object

A funsurv object

Examples

Run this code
data(simDat)

fit <- AR1_FRAILTY(Recur(t_start %to% t_stop, id, status) ~ z1,
                   sdat = sdat, fdat = fdat, iter.max = 30)

plot(fit, what = "basesurv")

Run the code above in your browser using DataLab