Description Usage Arguments Examples
create_affinity
returns an affinity matrix
1 | augmentation_matrix(N, M, n, seed, rep, method, bucket, reg_par, var)
|
N |
Aggregation times |
M |
The number of total sbm results |
n |
The number of individuals |
seed |
A vector of the seed you want to set for each aggregation time |
rep |
The number of repeats for each aggregation time |
method |
The method, kmeans, hclust or eigensplit |
bucket |
The bucket where you save the sbm affinity matrix |
reg_par |
The parameter value of regularization |
var |
The percentage explaine the variation |
1 | aug_result <- augmentation_matrix(20,2000,339,c(1:10),10,c("kmeans","hclust","eigensplit"),"jak2",0.1,0.9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.