powered by
html_matrix
My personal pipe creating an html_matrix object. Note that the length of fmt must be either nrow(m) or ncol(m) depending on byrow.
fmt
nrow(m)
ncol(m)
byrow
html_matrix(m) tooltip(sprintf(tooltip, nrow(m), ncol(m))) hm_cell(fmt=fmt, byrow=byrow)
html_matrix_sk( m, title, fmt, byrow = TRUE, tooltip = "Die Tabelle hat %.0f Zeilen und %.0f Spalten", ... )lmatrix( m, title, fmt, byrow = TRUE, tooltip = "Die Tabelle hat %.0f Zeilen und %.0f Spalten", ... )
lmatrix( m, title, fmt, byrow = TRUE, tooltip = "Die Tabelle hat %.0f Zeilen und %.0f Spalten", ... )
An html_matrix object.
vector, matrix, array, table or html_matrix: input
character: text for the upper left entry
character: text format for rows (or columns)
logical: fmt by row or by column (default: TRUE)
TRUE
character: text for tooltip with column and row numbers (default: "Die Tabelle hat %.0f Zeilen und %.0f Spalten")
"Die Tabelle hat %.0f Zeilen und %.0f Spalten"
further parameters given to html_matrix
m <- matrix(1:6, ncol=2) html_matrix_sk(m, title="", fmt=c("%.0f", "%.1f"))
Run the code above in your browser using DataLab