eelbrain.Model.as_table

Model.as_table(self, method='dummy', cases=0, group_terms=True)

Return a table with the model codes

Parameters:
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.

Returns:
table : FMText Table

The full model as a table.