data_at_time: data_at_time

View source: R/data_at_time.R

data_at_timeR Documentation

data_at_time

Description

Retrieves the relevant data for each individual at every event time.

Usage

data_at_time(i, j, df, times)

Arguments

i

index of individuals

j

index of event time

df

list of dataframes of the individuals

times

dataframe of event times

Value

row of data for i-th individual if the individual is still under risk, otherwise return row of NA.


herglola/SVHM documentation built on March 24, 2022, 12:44 p.m.