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)

# S4 method for SimTreatmentList
get_vars(object)

# S4 method for SimOutcomeList
get_vars(object)

# S4 method for SimBorrowingList
get_vars(object)

# S4 method for SimCovariateList
get_vars(object)

# S4 method for Simulation
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"