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

processR documentation built on Jan. 23, 2023, 5:44 p.m.