Learn R Programming

stremr (version 0.4)

get_FUPtimes: Follow-up times by regimen

Description

Subject specific follow-up times for each regimen in wts_data.

Usage

get_FUPtimes(wts_data, IDnode, tnode)

Arguments

wts_data
Either a list of data.table containing weights (one for each separate regimen/intervention) or a single data.table with weights for one regimen / intervention.
IDnode
Name of the column containing subject-specific identifier in the input data.
tnode
Name of the column containing the time/period variable in the input data.

Value

A data.table of subject specific follow-up times for each regimen in wts_data.

See Also

getIPWeights for evaluation of IP-weights.