param_cobalt {missDiag}R Documentation

Construct parameter list for cobalt

Description

Construct parameter list for cobalt

Usage

param_cobalt(
  stats = c("m", "v", "ks", "ovl"),
  continuous = "std",
  binary = "std",
  abs = TRUE,
  s.d.denom = "pooled"
)

Arguments

stats

character; which statistic(s) should be reported.

continuous

whether mean differences for continuous variables should be standardized ("std") or raw ("raw").

binary

whether mean differences for binary variables (i.e., difference in proportion) should be standardized ("std") or raw ("raw").

abs

logical; whether displayed balance statistics should be in absolute value or not.

s.d.denom

character; how the denominator for standardized mean differences should be calculated, if requested.

Details

For more information about these parameters, see cobalt::bal.tab().

Value

A list of parameters that can be passed to missDiag().


[Package missDiag version 1.0.1 Index]