session_by_treatment {scdhlm} | R Documentation |
Calculate session-by-treatment interactions for a unique case
Description
Calculate session-by-treatment interactions based on phases and session numbering.
Usage
session_by_treatment(phase, session, trt_phase)
Arguments
phase |
vector of treatment indicators or a character or factor vector indicating unique treatment phases. |
session |
numeric vector of measurement occasions. |
trt_phase |
character string indicating the phase value corresponding to the treatment condition. |
[Package scdhlm version 0.7.3 Index]