showData {relimp} | R Documentation |
Prints the contents of a data frame to a Tk text window, for inspection.
showData(dataframe, colname.bgcolor = "royalblue", rowname.bgcolor = "grey90", body.bgcolor = "white", colname.textcolor = "white", rowname.textcolor = "darkred", body.textcolor = "black", font = "Courier 12", maxheight = 30, maxwidth = 80, title = NULL, rowname.bar = "left", colname.bar = "top", rownumbers = FALSE, placement = "-20-40")
dataframe |
A data frame |
colname.bgcolor |
A background colour for the variable-names panel |
rowname.bgcolor |
A background colour for the row-names panel |
body.bgcolor |
A background colour for the data |
colname.textcolor |
A colour for the variable names |
rowname.textcolor |
A colour for the row names |
body.textcolor |
A colour for the data |
font |
The text font used – should be a monospaced font |
maxheight |
The maximum number of rows to display |
maxwidth |
The maximum width of display, in characters |
title |
A title for the window. Default is to use the name of
the dataframe as given in the call to showData() |
rowname.bar |
position of sidebar for row names, "left"
or "right" , or c("left","right") , or NULL |
colname.bar |
position of column names, "top" or
"bottom" , or c("top","bottom") , or NULL |
rownumbers |
logical, whether row numbers should be displayed |
placement |
Position of the bottom right corner of the window |
invisible(NULL)
David Firth, d.firth@warwick.ac.uk
## This cannot be run by example() but should be OK when pasted ## into an interactive R session ## Not run: data(mtcars) showData(mtcars) ## End(Not run)