OddsRatios: Compute pair-wise odds ratios between binary variables and a...

Description Usage Value See Also Examples

Description

Compute pair-wise odds ratios between binary variables and a target

Usage

1
2
3
4
5
6
7
8
OddsRatios(x, ...)

## S3 method for class 'data.frame'
OddsRatios(x, target_chr = "fx")

## S3 method for class 'list'
OddsRatios(x, target_chr = "fx",
  grp_chr = "device_model")

Value

a covariate-major data.frame with S3 class 'OddsRatios'

See Also

Other OddsRatios: trans_sig

Examples

1
2
ors <- OddsRatios(hipsCohort(binary), "fx")
ors2 <- hipsCohort(binary) %>% split(.$device_model) %>% OddsRatios(target_chr = "fx", grp_chr = "device_model")

mbadge/hipsMultimodal documentation built on May 9, 2019, 12:05 a.m.