paged_table

0th

Percentile

Create a table in HTML with support for paging rows and columns

Create a table in HTML with support for paging rows and columns

Usage
paged_table(x, options = NULL)
Arguments
x

a data frame to be rendered as a paged table.

options

options for printing the paged table. See details for specifics.

Details

Below are the recognized table pagination options.

Option Description Default
max.print The number of rows to print. 1000
sql.max.print The number of rows to print from a SQL data table. 1000
rows.print The number of rows to display. 10
cols.print The number of columns to display. 10
cols.min.print The minimum number of columns to display. -
pages.print The number of pages to display under page navigation. -
paged.print When set to FALSE turns off paged tables. TRUE

Note: There is a hard cap of 10,000 rows to ensure that pandoc will not fail when rendering the document.

Aliases
  • paged_table
Documentation reproduced from package rmarkdown, version 2.2, License: GPL-3

Community examples

wemigliari@yahoo.com.br at Apr 10, 2020 rmarkdown v2.1

#Use the function paged_table function to print your tables in Rmarkdown. --- title: "My Data" description: Are my data consistent? author: Migliari, W. (2020). output: distill::distill_article --- Introduction & Descriptive Statistics ```{r, echo = FALSE} library(rmarkdown) library(readxl) mydata <- read_excel("/Users/wemigliari/Documents/R/mydata.xlsx", sheet = "mydata") ``` ```{r} paged_table(mydata, list(rows.print = 17)) ``` #Migliari, W. (2020).