htmlList | R Documentation |
Print Named List of Vectors
htmlList(x, dec = 4)
x |
a named list |
dec |
round to this decimal place |
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.
a kable
Frank Harrell
set.seed(1)
w <- list(A = runif(4), B=rnorm(3))
htmlList(w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.