Table with KableExtra

Hi all,

I am trying to replicate this table
image
using kableExtra becuse i would like to include it in my markdown' pdf document.
How can I include the extra lines i blue and red using kableExtra? Any suggestons will be appreciate
Regards,
Ana

https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html#row_spec

Hi Nirgrahamuk,

Thanks for the information but there I cannot find how can I insert the line:
image
group_rows("Subgrupo A Sub A1 Sub A2", 1, 2)

I can add group_rows("Subgrupo A", 1, 2) but not all together

Kind regards,
Ana