powered by
This is a convenience function to use in row and column specifications. In that context, it returns the last n row or column numbers of the huxtable.
final(n = 1)
Number of rows to return.
Technically, final returns a two-argument function - see rowspecs for more details.
final
# NOT RUN { ht <- hux(a = 1:5, b = 1:5, d = 1:5, e = 1:5) ht <- set_align(ht, final(2), final(1), 'left') align(ht) final(3)(ht, 1) # last 3 rows final(3)(ht, 2) # last 3 columns # }
Run the code above in your browser using DataLab