Learn R Programming

HTMLUtils (version 0.1.9)

HTMLsortedTable: create sortable table

Description

create sortable table using JavaScript components in JSCPATH directory

Usage

HTMLsortedTable(x, TITLE = "", HEADER = "", file = "tmp.html",

JSCPATH = "jsc", path = paste(Sys.getenv("HOME"), "/public_html/",

sep = ""), debug = 0)

Arguments

x

data frame or matrix with column names

TITLE

title for the HTML page

HEADER

header to display for the sorted table

file

file name of main page; '.html' extension will be added. The '_main' and '_menu' pages use this base as well.

JSCPATH

path that should contain the jsc components. If non existing, user will be prompted for installation.

path

directory to create the file in

debug

level of verbosity

Author

"Markus Loecher, Berlin School of Economics and Law (BSEL)" <markus.loecher@gmail.com>