data_inspect
Inspect a dataset to reveal dimensions, column types, missing counts, distinct counts, and first rows. Use before analysis to identify numeric versus factor columns, ensuring the right test.
Instructions
Inspect a dataset: dimensions, per-column type, missing counts, distinct counts, example values, and the first rows. Run this before choosing an analysis - it tells you which columns are numeric versus factors, which is what determines whether a test will work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of rows to preview. | |
| data | Yes | Dataset name in the session. | |
| variables | No | Restrict to these columns. |