powered by
Checks if data contains timd-dependent covariates
has_tdc(data, id_var)
Logical. TRUE if data contains time-dependent covariates, else FALSE.
TRUE
FALSE
A data frame (potentially) containing time-dependent covariates.
A character indicating the grouping variable. For each covariate it will be checked if their values change within a group specified by id_var.
id_var