.create_list_for_attributes {cards}R Documentation

Create List for Attributes

Description

Create List for Attributes

Usage

.create_list_for_attributes(ard_subset, attributes, i)

Arguments

ard_subset

(data.frame)
an ARD data frame of class 'card'

attributes

(character)
a character vector of attribute names

i

(integer)
a row index number

Value

a named list

Examples

ard <- ard_categorical(ADSL, by = "ARM", variables = "AGEGR1")

cards:::.create_list_for_attributes(ard, c("group1", "group1_level"), 1)

[Package cards version 0.2.2 Index]