powered by
Get information about a Column in a Data Frame or Data Table. Use getdatadict to explore all columns in a dataset instead. Author: Scott Sobel. Tech Review: Bryce Chamberlain.
getinfo( df, colname, topn = 5, botn = 5, graph = TRUE, ordered = TRUE, display = TRUE, cutoff = 20, main = NULL, cex = 0.9, xcex = 0.9, bins = 50, col = "light blue" )
Only if display = FALSE, returns information about the column. Otherwise information comes through the graphing pane and the console (via cat/print).
Data Frame or Data Table.
(Character) Name of the column to get information about.
(Optional) Number of top values to print.
(Optional) Number of bottom values to print.
(Boolean Optional) Output a chart of the column.
(Optional)
getinfo(iris,'Sepal.Width') getinfo(iris,'Species')
Run the code above in your browser using DataLab