expectation {fastRG}R 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).


[Package fastRG version 0.3.2 Index]