posthoc_factor_test {riskclustr} | R Documentation |
Post-hoc test to obtain overall p-value for a factor variable used in a
eh_test_subtype
fit.
Description
posthoc_factor_test
takes a eh_test_subtype
fit
and returns an overall p-value for a specified factor variable.
Usage
posthoc_factor_test(fit, factor, nlevels)
Arguments
fit |
the resulting |
factor |
is the name of the factor variable of interest, supplied
in quotes, e.g. |
nlevels |
is the number of levels the factor variable in |
Value
Returns a list.
pval
is a formatted p-value.
pval_raw
is the raw, unformatted p-value.
Author(s)
Emily C Zabor zabore@mskcc.org
[Package riskclustr version 0.4.1 Index]