Extracts model coefficients from objects with class SBM
and children (SimpleSBM_fit
,
BipartiteSBM_fit
)
# S3 method for SBM
coef(object, type = c("connectivity", "block", "covariates"), ...)
vector or list of parameters.
an R6 object inheriting from class SBM_fit (like SimpleSBM_fit or BipartiteSBM_fit)
type of parameter that should be extracted. Either 'block' for $$\pi$$, 'connectivity' for $$\theta$$, or "covariates" for $$\beta$$. Default is 'connectivity'.
additional parameters for S3 compatibility. Not used