3.4 uvsum
uvsum
will produce a single table with many univariate results
rm_uvsum(response = 'Status',
covs=c('wt.loss','Sex','ph.ecog','meal.cal','age'),
data=lung,
CIwidth=.9)
Covariate | OR(90%CI) | p-value | N |
---|---|---|---|
wt loss | 1.01 (0.99,1.03) | 0.61 | 214 |
Sex | <0.001 | 218 | |
Female | Reference | 86 | |
Male | 3.24 (1.93,5.43) | 132 | |
ph ecog | 2.17 (1.50,3.15) | <0.001 | 227 |
meal cal | 1.00 (1.00,1.00) | 0.75 | 181 |
age | 1.04 (1.01,1.07) | 0.025 | 228 |
New Functionality & Bug Fixes
- showN is an option to show the sample size for each variable/factor level
- CIwidth allows for differ confidence intervals to be produced
- support for geeglm
- proper t-distribution confidence intervals for means are produced
- global p-values match paired t-tests (with pooled sd) for continuous outcomes
- function will check for variables and produce useful warnings
- character variables are automatically converted to factors
- function will now work with data imported from SPSS using
haven
package