mean-by-t transition probs using a fixed beta vector
dot-trans.prob.meanbyt.Rdmean-by-t transition probs using a fixed beta vector
Arguments
- modelobj
A pandista model object
- betavec_byblock
A list of beta coefficient vectors, one for each block. If NULL, will use the estimated coefficients contained in modelobj
- covdata_byid
A list of dataframes; each dataframe is the covariate data for one subject. If NULL, will use the covariate data as contained in modelobj
- extendtime
Logical; If TRUE, extend each subject's covariate data to t.final before any averaging occurs. Extension is done by carrying forward the last observation for each subject.