ht <- huxtable(
First = rnorm(5),
Second = rnorm(5),
add_rownames = FALSE
)
add_rownames(ht)
add_colnames(ht)
# Out by 1:
add_rownames(add_colnames(ht))
# Better:
add_colnames(add_rownames(ht))
# Alternatively:
add_colnames(add_rownames(ht, ""))
Run the code above in your browser using DataLab