I have the following table in an RMarkdown file using the kableExtra package
kableExtra
library(kableExtra) library(tidyverse) type <- c(\'Portfolio\',\'Ben