powered by
Configure pagination using a page variable
clin_page_by(x, page_by, max_rows = 10)
A clintable object
A variable in the input dataframe to use for pagination
If no page_by, the maximum rows allowed per page
dat <- mtcars dat["page"] <- c( rep(1, 10), rep(2, 10), rep(3, 10), c(4, 4) ) clintable(dat) |> clin_page_by("page") clintable(mtcars) |> clin_page_by(max_rows = 10)
Run the code above in your browser using DataLab