0

First: How can I create rows if I have the following code? Second: How can I format the content in the table?

 Mon<-c("Math","-","(free)")
 
 Tue<-c("(free)", "squash","(free)")
 
 Wed<-c("Marketing","squash","3rd meet.")
 Thu<-c("B.Ethics","-","(free)")
 
 Fri<-c("Stats","run","Intro R")
 weekdays<-data.frame(Mon, Tue, Wed, Thu, Fri)
 
 
 knitr::kable(weekdays, "pipe", col.name=c("Mon","Tue","Wed","Thu","Fri"))
Phil
  • 5,491
  • 3
  • 26
  • 61
Bella
  • 11
  • 4

0 Answers0