Description Usage Arguments Value
View source: R/partition_gen_by_p.R
Create a partition matrix with a partition vector p
1 | partition_gen_by_p(N, K, p)
|
N |
Rows in a partition matrix |
K |
Number of prototypes to create |
p |
Integer vector containing the cluster each row in a partition matrix is to be assigned to. |
A partition matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.