plan <- col_style_plan(
col_style_structure(col = "my_var",
align = c("xx| |(xx%)",
"xx|.x |(xx.x - xx.x)"),
type = "pos", width = 100),
col_style_structure(col = vars(four), align = "right", width = 200),
col_style_structure(col = vars(two, three), align = c(".", ",", " ")),
col_style_structure(col = c(two, three), width = 25),
col_style_structure(col = two, width = 25),
col_style_structure(col = span_structure(span = value, col = val2),
width = 25)
)
Run the code above in your browser using DataLab