clin_page_by | R Documentation |
Configure pagination using a page variable
clin_page_by(x, page_by, max_rows = 10)
x |
A clintable object |
page_by |
A variable in the input dataframe to use for pagination |
max_rows |
If no page_by, the maximum rows allowed per page |
A clintable object
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.