returnPVal: returnPVal - a helper function to return table1 p-values This...

Description Usage Arguments Examples

View source: R/returnPVal.R

Description

returnPVal - a helper function to return table1 p-values

This function returns the p-values for numeric and factor based comparisons between the groups

Usage

1
2
returnPVal(eSet, groupChar, char, numericTest = aov,
  factorTest = fisher.test)

Arguments

eSet

- the eSet or data.frame sent to table1

groupChar

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

char

- which characteristic is summarized from eSet

numericTest

Defaults to aov - changing this doesn't work yet

factorTest

Defaults to fisher.test - changing this doesn't work yet

Examples

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

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