Learn R Programming

psborrow2 (version 0.0.4.0)

get_vars: Get Variables

Description

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 ContinuousOutcome 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)

# S4 method for BaselineObject get_vars(object)

Value

A character vector containing variable names

Arguments

object

Object

Examples

Run this code
get_vars(treatment_details(
  trt_flag_col = "treat_fl",
  trt_prior = prior_normal(0, 1000)
))

Run the code above in your browser using DataLab