Skip to contents

Plain text only; no rich dependency.

Usage

morie_dataset_profile_summary_table(profile)

Arguments

profile

A morie_dataset_profile.

Value

Character scalar with embedded newlines.

Examples

if (requireNamespace("readxl", quietly = TRUE)) {
  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 treatment      
#> y                              numeric      ratio            4    0.0%   FALSE outcome