Learn R Programming

dashboard (version 0.1.0)

dctable: dctable add a data table to the dashboard

Description

dctable displays a data table

Usage

dctable(index = listcol[1], listcol = dashboard.env$listcol, title = "data list table", spansize = 12)

Arguments

index
column name of data frame data for indexing the data table
listcol
vector of column names of data frame data to display in the data table
title
character for the title of the generated data table
spansize
integer between 1 to 12 for the width of the element in the web page

Examples

Run this code
dashboard_open(data=iris) # other options: pathoutput=getwd() ...
dcpiechart(x=names(iris)[5])
dcbarchart(x=names(iris)[1] , gap=75)
dcpiechart(x=names(iris)[2])
dctable(index=names(iris)[5])
dashboard_launch(browse = FALSE) # Just generates files. Server is not launched

Run the code above in your browser using DataLab