# NOT RUN {
library(Landmarking)
data(data_repeat_outcomes)
data_repeat_outcomes <-
return_ids_with_LOCF(
data_long = data_repeat_outcomes,
individual_id = "id",
covariates =
c("ethnicity", "smoking", "diabetes", "sbp_stnd", "tchdl_stnd"),
covariates_time =
c(rep("response_time_sbp_stnd", 4), "response_time_tchdl_stnd"),
x_L = c(60,61)
)
# }
Run the code above in your browser using DataLab