VecAlignment | R Documentation |
This function rearranges the samples in the mat
into
an aligned list of transactions, which is mainly used by other functions in the package.
Suppose mat[i,]
is a binary vector we are interested, we use A<-bin2dec(mat[i,])
to store the decimal value of mat[i,]
in A
. Then, we call D[[A]]$count
to get number of samples in mat
that are similar to mat[i,]
and
the D[[A]]$name
is mat[i,]
.
VecAlignment(mat)
mat |
is a matrix n by d where n is a number of transactions or samples and d is a number of dimensions. |
This function returns an aligned list of transactions D
, is an aligned list of transactions that was converted from any matrix n by d mat
.
VecAlignment(mat=mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.