Learn R Programming

HVT (version 25.2.4)

displayTable: function for displaying table

Description

This is the main function for displaying data in table format

Usage

displayTable(data, scroll = TRUE, limit = 20)

Value

A table with proper formatting for html notebook

Arguments

data

Data frame. The dataframe to be displayed in table format.

scroll

Logical. A value to have a scroll or not in the table. Default is TRUE.

limit

Numeric. A value to indicate how many rows to display. Default is 20.

Author

Vishwavani <vishwavani@mu-sigma.com>

Examples

Run this code
data <- datasets::EuStockMarkets
dataset <- as.data.frame(data)
displayTable(dataset)

Run the code above in your browser using DataLab