Accumulate Stanza Window (directed, full-square output)
accum_stanza_window.RdFor each row, accumulates co-occurrences over a backward stanza window.
Preserves directionality: the output columns are the n_codes x n_codes
adjacency matrix in column-major order, ground codes as rows and response
codes as columns, so 0-based column (j*n_codes + i) represents code i
(context/ground) co-occurring with code j (current row/response).
Returns a matrix with n_codes² columns (full square adjacency).
Details
Delegates to accumulate_stanza(ordered = TRUE).