
Create Terminal Branches in STROBE Diagram
Source:R/create_terminal_branch.R
create_terminal_branch.Rd
Finalizes the STROBE diagram by branching into terminal inclusion nodes based
on the values of a factor variable (e.g., outcome or stratifying variable).
The function throws an error if variable
has more than six levels (including NA).