recbase: Baseline estimation and plot

Description Usage Arguments

View source: R/recbase.R

Description

Estimate baseline rates at equally spaced time points using the same method selected for model estimation.

Usage

1
recbase(fit, formula, recdata, tau = NULL, np = 40)

Arguments

fit

the output from the rectime() function.

formula

the same formula used in the rectime() function.

recdata

the rectime data object.

tau

the pre-specified time point such that the recurrent event process could be potentially observed beyond tau. Usually it is the length of the study. If left unspecified, the default is the maximum of the time variable.

np

number of time points where the baseline rate function is evaluated. The time points are equally spaced between 0 to tau.


TianmengL/rectime documentation built on June 5, 2021, 8:29 p.m.