getMparamsNames: Return Moebius parameter name strings

View source: R/maps.R

getMparamsNamesR Documentation

Return Moebius parameter name strings

Description

Gives a vector of strings corresponding to the meaning of each generalized Moebius parameter: e.g. "p(a, c = 0 | b = 1, d = 0, e = 0)".

Usage

getMparamsNames(mparam, blanks = FALSE)

Arguments

mparam

An object of class mparam.

blanks

logical indicating whether to omit repeated names.

Details

The logical blanks provides for adding whitespace in place of some repeated vertices in the output.

Value

A string valued vector containing the names in head order.

Note

Note that if the Moebius parametrization is with respect to the recursive factorization, some of the parameters may be reweighted probabilities of the joint distribution.

Author(s)

Robin Evans

References

Evans, R.J. and Richardson, T.S. (2010) - Fitting acyclic directed mixed graphs to binary data. UAI-10.

Examples


data(gr2, package="MixedGraphs")
mparams = moebius(gr2, prob_table(gr2, values=rep(1/32, 32)))

ADMGs2:::getMparamsNames(mparams)



rje42/ADMGs2 documentation built on Sept. 3, 2024, 7:39 p.m.