This can be useful for tabulating model results.
cfun_by_flag(analysis_var, flag_var, format = "xx", .indent_mods = NULL)A content function which gives df$analysis_var at the row identified by
.df_row$flag in the given format.
(string)
variable name for the column containing values to be returned by the
content function.
(string)
variable name for the logical column identifying which row should be returned.
(string)
rtables format to use.