- Model.as_table(method='dummy', cases=0, group_terms=True)
Return a table with the model codes
method ('effect' | 'dummy') – Coding scheme: effect coding or dummy coding.
cases (int | iterator of int) – Cases to include (int includes that many cases from the beginning, 0 includes all; negative number works like negative indexing).
group_terms (bool) – Group model columns that represent the same effect under one heading.
table – The full model as a table.
- Return type