# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
valign(ht) <- 'bottom'
valign(ht)
ht <- huxtable(a = 1:3, b = 3:1)
ht2 <- set_valign(ht, 'bottom')
valign(ht2)
ht3 <- set_valign(ht, 1:2, 1, 'bottom')
valign(ht3)
ht4 <- set_valign(ht, 1:2, 1:2, c('bottom', 'bottom'), byrow = TRUE)
valign(ht4)
ht5 <- set_valign(ht, where(ht == 1), 'bottom')
valign(ht5)
# }
Run the code above in your browser using DataLab