nameCols | R Documentation |
tt
matrixThis utility function makes use of the valuenames and size parameters of a set of variables to assign values names to the columns of a tt
matrix.
nameCols(valuenames, size)
valuenames |
A list of the names of the variables with the name of the elements of their frame of discernment. |
size |
A vector of the size of the variables. |
A character vector of length equal to the sum of the sizes of the variables.
Claude Boivin
infoval <- list(A = c("a1", "a2"), B = c("b1", "b2", "b3"))
sizes <- c(2,3)
print(nameCols(valuenames = infoval, size = sizes) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.