Set and Get Options in cobalt
Makes it easier to set cobalt options. set.cobalt.options()
is essentially a wrapper for options()
but performs several checks, and get.cobalt.options()
is essentially a wrapper for getOption()
.
set.cobalt.options(..., default = FALSE) get.cobalt.options(...)
... |
For For |
default |
if |
When an option is set to NULL
, it is set to its default value. The defaults are not displayed but are listed on the help pages where they appear. Most options correspond to display options, which can be accessed here. Some others (e.g., continous
and binary
) are described on the bal.tab()
help page.
display_options
for some arguments that can be set via options.
# Set un to be TRUE to always display unadjusted # balance measures and set binary to "std" to # produce standardized mean differences for # binary variables. set.cobalt.options(un = TRUE, binary = "std") # Note: the above is equivalent to: # options(cobalt_un = TRUE, cobalt_binary = "std") # but performs some additional checks get.cobalt.options("un", "binary") # Note: the above is equivalent to: # getOption("cobalt_un") # getOption("cobalt_binary") # Return all cobalt options to their defaults set.cobalt.options(default = TRUE) # View all available options get.cobalt.options()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.