col_index | R Documentation |
A map from the joint space to an index set.
col_index(M, x)
M |
A vector of positive integers giving the alphabet sizes of the discrete variables. |
x |
An element of the joint space. |
A positive integer no greater than the cardinality of the joint space uniquely identifying x
.
M=c(2,2,2)
col_index(M,c(1,1,1))
col_index(M,c(1,1,2))
M=c(4,3,2)
col_index(M,c(1,1,1))
col_index(M,c(2,1,1))
col_index(M,c(1,2,1))
col_index(M,c(1,1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.