I would like to display a vtable (created using the library vtable) as a normal kable table in RMarkdown (I am creating a PDF with LaTex). I understand that vtable can give back a knitr kable and therefore it can be used as an input for kable_styling so i can tinker with the latex options. This seems to work up to a certain point.
Here is the code so far:
vtable(heart_faliure_data, labels = label) %>%
kable_styling(latex_options = c("striped", "scale_down"))
But the resulting table looks like this:
Why are the latex command displayed at all?
I am thankful of any help you can give me.
Greetings!