sample_structure <- frmt_structure(
group_val = c("group1"),
label_val = ".default",
frmt("XXX")
)
## multiple group columns
sample_structure <- frmt_structure(
group_val = list(grp_col1 = "group1", grp_col2 = "subgroup3"),
label_val = ".default",
frmt("XXX")
)
Run the code above in your browser using DataLab