Skip to contents

Gets the data variable names from an object.

Usage

get_vars(object)

# S4 method for Covariates
get_vars(object)

# S4 method for Treatment
get_vars(object)

# S4 method for Borrowing
get_vars(object)

# S4 method for TimeToEvent
get_vars(object)

# S4 method for BinaryOutcome
get_vars(object)

# S4 method for Analysis
get_vars(object)

# S4 method for `NULL`
get_vars(object)

Arguments

object

Object

Value

A character vector containing variable names

Examples

get_vars(treatment_details(
  trt_flag_col = "treat_fl",
  trt_prior = normal_prior(0, 1000)
))
#> trt_flag_col 
#>   "treat_fl"