returnSlots: returnSlots - a helper function to return slots to place in...

Description Usage Arguments Examples

View source: R/returnSlots.R

Description

returnSlots - a helper function to return slots to place in the table1

This function returns the slots generated by returnFactorSlots and returnNumSlots

Usage

1
returnSlots(eSet, groupChar, group, char, func = NULL)

Arguments

eSet

- the eSet or data.frame sent to table1

groupChar

- a factor column present in eSet by which to group samples and summarize char

group

- which factor level from groupChar is summarized

char

- which characteristic is summarized from eSet

func

- a user defined function that will also return a character summary - not really implemented yet

Examples

1
returnNumSlots(eSet, "CancerStatus", "CancerPositive", "Age")

compbiomed/tableONE documentation built on May 13, 2019, 9:55 p.m.