write_strata_or_output: Format strata output into CSV
Description
Format strata output into CSV
Usage
write_strata_or_output(results, varnames, filename)
Value
Returns the filename to allow chaining
Arguments
- results
Output of test_mh
- varnames
Vector of exposure variable names
- filename
String of the filename to output to