
Render a human-readable dataset profile summary table.
Source:R/dataset.R
morie_dataset_profile_summary_table.RdPlain text only; no rich dependency.
Examples
df <- data.frame(x = c(0, 1, 0, 1), y = c(1, 2, 3, 4))
p <- morie_dataset_profile(df, hint_treatment = "x", hint_outcome = "y")
cat(morie_dataset_profile_summary_table(p))
#> Dataset Profile (4 rows x 2 cols)
#> ----------------------------------------------------------------------------------------------------
#> Column dtype Level Unique Miss% Binary Role
#> ----------------------------------------------------------------------------------------------------
#> x numeric nominal 2 0.0% TRUE covariate
#> y numeric ratio 4 0.0% FALSE covariate