dcast.data.tabledata.frame into a long format.
Internally uses melt.data.table and dcast.data.table.DF.to.longDT(df_wide, return_DF = TRUE)data.frame or data.table in wide formatTRUE (default) to return a data.frame, FALSE returns a data.tabledata.frame in long formatAll covariates that appear fewer than range(t) times are imputed with NA for missing time-points.
Observations with all NA's for all time-varying covariates are removed.
When removing NA's the time-varying covariates that are attributes (attnames) are not considered.
DF.to.long;
doLTCF