'gtsummary modify_table_styling in multiple rows

I am attempting to modify the indentation of multiple rows in gtsummary. How can I select multiple rows under "rows"?

ex.

this works:

df1 %>%
tbl_summary(
  )%>%
modify_table_styling(
  columns = label,
  rows = variable == "var1",
text_format = "indent2")

this doesn't:

df1 %>%
tbl_summary(
  )%>%
modify_table_styling(
  columns = label,
  rows = variable == c("var1","var2")
text_format = "indent2")

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source