coef.SBM: Extract model coefficients

Description Usage Arguments Value

View source: R/R6Class-SBM.R

Description

Extracts model coefficients from objects with class SBM and children (SimpleSBM_fit, BipartiteSBM_fit)

Usage

1
2
## S3 method for class 'SBM'
coef(object, type = c("connectivity", "block", "covariates"), ...)

Arguments

object

an R6 object inheriting from class SBM_fit (like SimpleSBM_fit or BipartiteSBM_fit)

type

type of parameter that should be extracted. Either 'block' for

π

, 'connectivity' for

θ

, or "covariates" for

β

. Default is 'connectivity'.

...

additional parameters for S3 compatibility. Not used

Value

vector or list of parameters.


GrossSBM/sbm documentation built on April 8, 2021, 5:53 a.m.