You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create functions for risks, odds, effect modification, etc.
Create a function that will allow freq_table to output in table format.
Create a function that will allow freq_table to output a data frame of observations/cases
Instead of row and column, consider using exposure and outcome.
Update vignettes
Other thoughts
freq_crosstab:
freqtable input
Manual frequency table inout
Data frame of observations input
Output is a table or matrix
From there, we can calculate quantities of interest (e.g. odds ratio). Broom style.
Also, need a display only version that can show n’s, row/column percents, etc.
Potential output style
..1
..2
..3
..4
Col var
Row var
Stats
Outcome +
Outcome -
Exposure +
N
Exposure +
Percent
Exposure -
N
Exposure -
Percent
Maybe even display as a flextable. Document that this layout is for viewing rather than analysis?
Maybe just use gmodels::CrossTable() instead of reinventing the wheel?
Overview
Need to come up with a way to work with 2x2 contingency tables.
Here's what I want to do:
Helpful websites:
Thoughts
Other thoughts
freq_crosstab:
Potential output style
Maybe even display as a flextable. Document that this layout is for viewing rather than analysis?
Maybe just use
gmodels::CrossTable()
instead of reinventing the wheel?The text was updated successfully, but these errors were encountered: