ExpData() provides a quick structural audit of a dataset, reporting its dimensions, variable classes, organization, and missing cases before deeper exploratory analysis. section 17.4.3
Choose the output type according to the question you need to answer:
- Use type = 1 for a high-level table containing row and column counts, variable-class counts, zero-variance variables, and completeness information. section 17.4.3
- Use type = 2 for variable-level structure, including names, types, row counts, and missing-value counts. section 17.4.3
Audit a basketball odds dataset
Run ExpData(oddsdf4, type = 1) to see that the dataset has 1,230 rows, 15 variables, nine numeric or integer variables, six factors, and complete cases for all variables. Then run ExpData(oddsdf4, type = 2) to inspect each variable's type, sample size, and missing-count column. section 17.4.3
