get_desc_df.estimated_partition: Get descriptive data.frame

View source: R/fit_estimate.R

get_desc_df.estimated_partitionR Documentation

Get descriptive data.frame

Description

Get information for each cell

Usage

## S3 method for class 'estimated_partition'
get_desc_df(
  obj,
  cont_bounds_inf = TRUE,
  do_str = TRUE,
  drop_unsplit = TRUE,
  digits = NULL,
  unsplit_cat_star = TRUE,
  import_order = FALSE,
  ...
)

Arguments

obj

partition object

cont_bounds_inf

Should "Inf" be used for continuous bounds (otherwise the bounds from X_range)

do_str

If True, use a string like "(a, b]", otherwise have two separate columns with a and b

drop_unsplit

If True, drop columns for variables overwhich the partition did not split

digits

digits Option (default is NULL)

unsplit_cat_star

Should unsplit categorical variables be listed as "*", otherwise all factor labels will be used.

import_order

Whether should use importance ordering (most important on the left) or input ordering (default) for features. Rows will be ordered so that the right-most will change most frequently.

...

Additional arguments.

Value

data.frame with columns: partitioning columns, N_est, param_ests, pval per estimate


microsoft/CausalGrid documentation built on Aug. 25, 2022, 9:30 a.m.