Description Usage Arguments Value
converts a vector of block assignments to a matrix of block assignments
1 2 3 4 5 |
x |
a numeric-vector of node-to-block assignments |
kappa |
number of blocks |
matrix with kappa
rows and a 1 at (k,i)
if node i
is in block k
under x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.