Description Details Usage Slots Author(s) See Also Examples
A class to handle TiddlyWiki tables.
Missing values are allowed for the entries of the table in the "dat" slot. Missing data in in the "ref" or "color" slots are interpreted as no reference to be linked or not color to be used in the cell.
If sortable = TRUE the plugin needs to be installed.
new ("twTable", dat, ...)
twTable (dat, ref, color, ...)
dat
:a data.frame containing the table values.
ref
:character matrix of the target or URL to be redirected to from each cell of the table.
color
:character matrix indicating the color of each cell of the table.
bgcolor
:character matrix indicating the background color of each cell of the table.
includeRowNames
:logical; if TRUE row names of "dat" are used as row names of the table.
includeColNames
:logical; if TRUE column names of "dat" are used as column names of the table.
rowref
:a character vectors of references to be linked from the row names of the table.
colref
:a character vectors of references to be linked from the column names of the table.
align
:a character vector indicating the alignment of each column of the table; may be missing or one of "l", "c" or "r".
title
:a title or header for the table.
footer
:a footer for the table.
sortable
:if TRUE the columns of the table may be sorted by clicking on their column names.
digits
:number of digits to be displayed in numerical, non integer columns. Default is 3.
David Montaner dmontaner@cipf.es
1 2 3 |
[1] "" "|!|V1|V2|V3|V4|h"
[3] "|!1|-0.718|0.359|-0.391|0.785|" "|!2|-0.458|-0.524|2.653|-2.011|"
[5] "|!3|-1.117|-0.042|-1.791|-0.3|" ""
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.