check_prior: Check validity of multibergm prior

View source: R/set_priors.R

check_priorR Documentation

Check validity of multibergm prior

Description

Internal functions to check compatibility of the prior with the model.

Usage

check_prior(prior, n_terms, n_groups)

check_prior_mean(x, n_terms)

is_covmat(x)

check_prior_cov(x, n_terms)

check_prior_scale(x, n_terms)

check_prior_df(x, n_terms)

Arguments

prior

A list of explicit prior specifications.

n_terms

Number of terms (summary statistics) in the exponential random graph model

n_groups

Number of distinct groups

x

Prior mean or covariance to be checked


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