SortableHTMLTables writes a data frame to an HTML file that contains a sortable table. The sorting is done using the jQuery plugin Tablesorter. The appearance is controlled through a CSS file and several GIF's.
| Package: | SortableHTMLTables |
| Type: | Package |
| Version: | 0.1-1 |
| Date: | 2010-09-25 |
| License: | MIT |
| LazyLoad: | yes |
1 2 3 4 5 | library('SortableHTMLTables')
df <- data.frame(X = rnorm(10), Y = runif(10), Z = rcauchy(10))
sortable.html.table(df, 'sample.html')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.