Learn R Programming

tern.gee (version 0.1.5)

vars_gee: Set Variables to Use in GEE Model

Description

Set Variables to Use in GEE Model

Usage

vars_gee(
  response = "AVAL",
  covariates = c(),
  id = "USUBJID",
  arm = "ARM",
  visit = "AVISIT"
)

Value

A list of variables that can be used as the vars argument in fit_gee().

Arguments

response

(character)
name of response variable.

covariates

(character)
vector of names of variables to use as covariates.

id

(character)
name of variable to use to identify unique IDs.

arm

(character)
name of arm variable.

visit

(character)
name of visit variable.

Examples

Run this code
vars_gee()

vars_gee(
  response = "CHG",
  covariates = c("SEX", "RACE"),
  id = "SUBJID",
  arm = "ARMCD",
  visit = "AVISITN"
)

Run the code above in your browser using DataLab