I know how to make a table in R markdown:
1 | 2 | 3
:- |:-: | -:
4 | 5 | 6
7 | 8 | 9
This is a table. I want to create the equivalent but a spreadsheet. I installed the excelR package. I tried this as an example, but it didn't produce any output:
df = cbind(A = c('a', 'b', 'c', 'd','NA'),
B = c('a', 'c', 'd', 'e','g'), C = c('e', 'b', 'a', 'f','NA'))
df <- data.frame (df)