Learn R Programming

rERR (version 0.1)

f_exclusion: Exclusion period related with the latency - lag period

Description

Exclude subjects in the cohort that have less than lag time of follow up

Usage

f_exclusion(formula, data, lag)

Arguments

formula

Surv(entry_time,exit_time,outcome)~loglin(loglin_var1,..,loglin_varn)+ lin(lin_var1,..,lin_varm)+strata(strat_var1,...strat_varp)

data

initial data set

lag

latency period

Value

a data set with the exclusion updated

Examples

Run this code
# NOT RUN {
f_exclusion(formula,data,lag)
# }

Run the code above in your browser using DataLab