Learn R Programming

fastRG (version 0.3.2)

expectation: Calculate the expected adjacency matrix

Description

Calculate the expected adjacency matrix

Usage

expectation(model, ...)

# S3 method for undirected_factor_model expectation(model, ...)

# S3 method for directed_factor_model expectation(model, ...)

Value

The expected value of the adjacency matrix, conditional on the latent factors X and Y (if the model is directed).

Arguments

model

A directed_factor_model() or an undirected_factor_model() object.

...

Unused.