Utility internal-function for constructing window-span vector in the collocate function.
span_set(window = "character", span = "integer")
window | window-span direction of the collocates: |
---|---|
span | integer vector indicating the span of the collocate scope. |
Named integer vectors of window-span. The name attributes refer to the window position of the vector (e.g. "l2", "l1", "node", "r1", "r2").
span <- span_set(window = "b", span = 3)