I try to make table and want to make the first col aligned to left and the rest aligned to center. It seems like no align option for col_spec. how should I do?
Here are the sample codes that I made:
x<-data.frame("Name"=c("test", "try"),"SN"=1:2, "Age"=c(21, 15), "Salary"=c(1000,2000))
x %>% kable("html", align="c") %>% kable_styling(full_width = FALSE, position="left" )%>% row_spec(0, background = "#F3E2A9")