set_priors: Set priors for multibergm

View source: R/set_priors.R

set_priorsR Documentation

Set priors for multibergm

Description

This is a utility function to set priors for a multibergm. When not explicitly specified, set_priors() uses default (vague) priors. A validity check is also performed to ensure the compatibility of the priors with the model.

Usage

set_priors(
  ergm_formula,
  model_matrix,
  control,
  hyper_model_matrix = NULL,
  prior = list()
)

Arguments

ergm_formula

An R formula object, of the form y ~ <model terms>, where y is a network object or a network.list object.

control

A list of parameters set by control_multibergm

prior

A list of explicit prior specifications.


brieuclehmann/multibergm documentation built on June 19, 2024, 6:36 p.m.