powered by
Exclude subjects in the cohort that have less than lag time of follow up
f_exclusion(formula, data, lag)
Surv(entry_time,exit_time,outcome)~loglin(loglin_var1,..,loglin_varn)+ lin(lin_var1,..,lin_varm)+strata(strat_var1,...strat_varp)
initial data set
latency period
a data set with the exclusion updated
# NOT RUN { f_exclusion(formula,data,lag) # }
Run the code above in your browser using DataLab