
Last chance! 50% off unlimited learning
Sale ends in
Print Named List of Vectors
htmlList(x, dec = 4)
a kable
a named list
round to this decimal place
Frank Harrell
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.
set.seed(1)
w <- list(A = runif(4), B=rnorm(3))
htmlList(w)
Run the code above in your browser using DataLab