Chabert-Liddell / colSBM

R package for the joint stochastic blockmodeling of collection of networks
https://Chabert-Liddell.github.io/colSBM/
Other
4 stars 0 forks source link

Extract to a general `colSBM` R6-Class what can be #9

Open Polarolouis opened 2 weeks ago

Polarolouis commented 2 weeks ago

I need to work on extracting common stuff to leverage OOP and inheritance capabilities of R6 objects.

Polarolouis commented 2 weeks ago

The way bipartite fit objects are initialized can benefit from having common repeated code extracted to one function. This can be seen in dev/pam_spec_clust where a large chunk of code is just copied.