session_by_treatment.Rd
Calculate session-by-treatment interactions based on phases and session numbering.
session_by_treatment(phase, session, trt_phase)
vector of treatment indicators or a character or factor vector indicating unique treatment phases.
numeric vector of measurement occasions.
character string indicating the phase value corresponding to the treatment condition.