- data
A data.frame
with rows representing subjects and the
following named columns:
entrytime
:
time of entry into study (numeric);
survtime
:
time from entry until event (numeric);
censorid
:
censoring indicator (0 = right censored, 1 = observed),
(integer);
unit
:
integer or character indicating which unit
(f.e. hospital) the observation belongs to.
and optionally additional covariates used for risk-adjustment.
ctime
Construction time at which the funnel plot
should be determined. Maximum possible time used when not specified.
p0
The baseline failure probability at entrytime + followup
for individuals.
If not specified, average failure proportion over whole data is used instead.
glmmod
A generalized linear regression model as produced by
the function glm()
. Recommended:
glm(as.formula("(survtime <= followup) & (censorid == 1) ~ covariates"), data = data)
.
Alternatively, a list with the following elements:
formula
:
a formula()
in the form ~ covariates
;
coefficients
:
a named vector specifying risk adjustment coefficients
for covariates. Names must be the same as in formula
and colnames of data
.
followup
The followup time for every individual. At what time
after subject entry do we consider the outcome?
predlim
A vector of confidence levels for the prediction limits of interest. Default is c(0.95, 0.99).
assist
(optional): Output of the function parameter_assist()