Generic stroke study outcome
generic_stroke.Rd
Includes table 1, grotta bars and ordinal logistic regression plot. Please just use this function for illustration purposes. To dos: modify grottaBar and include as own function.
Arguments
- df
Data set as data frame
- group
Variable to group by
- score
Outcome measure variable
- strata
Optional variable to stratify by
- variables
String of variable names to include in adjusted OLR-analysis
Examples
generic_stroke(stroke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
#> Error in loadNamespace(x): there is no package called ‘stroke’