predict.SBM: Model Predictions

Description Usage Arguments Value

View source: R/R6Class-SBM.R

Description

Make predictions from an SBM.

Usage

1
2
## S3 method for class 'SBM'
predict(object, covarList = object$covarList, theta_p0 = 0, ...)

Arguments

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

Value

a matrix of expected values for each dyad


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