Description Usage Arguments Details Value Author(s) See Also Examples
Meant to be used in creating R matrix to be exported as a table
1 |
data |
Data frame where nvar and gvar can be found |
fvar |
Character string of column in data of factor data |
gvar |
Character string of column in data of grouping data |
fisher |
Logical whether to use Fisher exact test or chi-square |
If the p-value is less than 0.0005 then '< 0.001' is returned otherwise p-value rounded to 3 decimals is returned
Returns a string of the p-value from a Chi-square test or Fisher exact test
University of Wisconsin-Madison Biostatistics and Medical Informatics Department, Scott Hetzel M.S.
tableFunc
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.