View source: R/preprocess-function.R
session_by_treatment | R Documentation |
Calculate session-by-treatment interactions based on phases and session numbering.
session_by_treatment(phase, session, trt_phase)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.