Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statscraft 0.61.0, release v0.61.0

SPLIT FILE

Run each procedure once per run of consecutive cases that share the split values.

Syntax

SPLIT FILE [LAYERED | SEPARATE] BY varlist.
SPLIT FILE OFF.

A group ends where a split variable changes value, so sort the cases first.

LAYERED (the default) shows the groups in one table, with the split variables as the outermost row labels; SEPARATE gives every group tables of its own. AGGREGATE ignores the split; SORT CASES turns it off. The split is kept with the dataset.

Example

SPLIT FILE SEPARATE BY region.

statscraft help SPLIT FILE prints the same text in the terminal. All commands