defineIndex {patientProfilesVis}R Documentation

Define LaTeX index based on specified variable(s) of the dataset

Description

Define LaTeX index based on specified variable(s) of the dataset

Usage

defineIndex(subjects, data, var, subjectVar = "USUBJID", labelVars = NULL)

Arguments

subjects

vector with subject IDs (based on the subjectVar variable)

data

data.frame with data containing information on which the index should be based

var

variable(s) of data of interest for the index

subjectVar

String, variable of data with subject ID

labelVars

Named character vector with variable labels (names are the variable code)

Value

list with elements:

Author(s)

Laure Cougnaud


[Package patientProfilesVis version 2.0.7 Index]