Description Usage Arguments Details Value Author(s) Examples
Use to peruse a dataframe within RStudio. Utilizes DT
package.
1 2 3 4 5 6 7 8 9 10 11 |
data |
dataframe to be viewed. |
fontsize |
numeric controlling font size in the table, measured in px. Default is 11. |
pageLength |
number of rows to display per page (Default |
maxchars |
max number of characters before adding an ellipsis |
maxrows |
numeric controlling max number of rows to display. The purpose is to prevent |
rownames |
whether or not to show row names (passed directly to |
escape |
whether to escape HTML entities in the table (passed directly to |
class |
the CSS class(es) of the table (passed directly to |
whiteSpace |
CSS property sets how white space inside an element is handled. Default is "pre-wrap". |
If data frame is grouped (i.e. group_by
in dplyr), the rows will be sorted and shaded by group.
A javascript-style datatable, which displays in the Rstudio viewer.
Zhonghui Gai
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.