expectation: Calculate the expected adjacency matrix

View source: R/plotting.R

expectationR Documentation

Calculate the expected adjacency matrix

Description

Calculate the expected adjacency matrix

Usage

expectation(model, ...)

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

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

Arguments

model

A directed_factor_model() or an undirected_factor_model() object.

...

Unused.

Value

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


fastRG documentation built on Aug. 22, 2023, 1:08 a.m.