flextable
flextable copied to clipboard
delete specific row
I'd like to be able to delete a specific row (like in Word or Excel). My use case is that I'd like to replace some rows from a gtsummary::tbl_regression with another row after converting to flextable. The development philosophy of gtsummary is not to have these sorts of fine table management features but to leave that to gt or the other table environments it supports, including flextable.
I have found delete_part but that doesn't seem to be able to be used for rows within parts.
It would probably make sense to allow deleting any row or column using the normal i/j selectors.