predict.SBM | R Documentation |
Make predictions from an SBM.
## S3 method for class 'SBM'
predict(object, covarList = object$covarList, theta_p0 = 0, ...)
object |
an R6 object inheriting from class SBM_fit (like SimpleSBM_fit or BipartiteSBM_fit) |
covarList |
a list of covariates. By default, we use the covariates associated with the model. |
theta_p0 |
a threshold... |
... |
additional parameters for S3 compatibility. Not used |
a matrix of expected values for each dyad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.