Learn R Programming

qreport (version 1.0-1)

htmlList: htmlList

Description

Print Named List of Vectors

Usage

htmlList(x, dec = 4)

Value

a kable

Arguments

x

a named list

dec

round to this decimal place

Author

Frank Harrell

Details

Function to print a simple named list of vectors in html Creates a column name from the names of the list If a vector element of the list is numeric, it is rounded to dec digits to the right of the decimal place.

Examples

Run this code
set.seed(1)
w <- list(A = runif(4), B=rnorm(3))
htmlList(w)

Run the code above in your browser using DataLab