seekVar: Seek var form covariates

View source: R/makeEquation.R

seekVarR Documentation

Seek var form covariates

Description

Seek var form covariates

Usage

seekVar(
  covar = list(),
  var,
  prefix = "h",
  start = 1,
  grouplabels = NULL,
  suffix = NULL
)

Arguments

covar

A list of covariates

var

A name of variable to look for

prefix

A prefix

start

A start number

grouplabels

A list

suffix

A suffix

Examples

covar=list(name=c("C1","C2","C3"),label=c("ese","sex","tenure"),site=list(c("M","Y"),"Y","Y"))
var="Y"
seekVar(covar,var,prefix="h")

cardiomoon/processR documentation built on April 20, 2023, 3:38 a.m.