Learn R Programming

SortableHTMLTables (version 0.1-3)

SortableHTMLTables-package: Turns a data frame into an HTML file containing a sortable table.

Description

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.

Arguments

Details

Package:
SortableHTMLTables
Type:
Package
Version:
0.1-1
Date:
2010-09-25
License:
MIT
LazyLoad:
yes

Examples

Run this code
library('SortableHTMLTables')

df <- data.frame(X = rnorm(10), Y = runif(10), Z = rcauchy(10))

sortable.html.table(df, 'sample.html')

Run the code above in your browser using DataLab