add.stats: Add attributes to an APFA

Description Usage Arguments Value Author(s) Examples

View source: R/APFAfunctions.R

Description

Adds edge probabilities, log-likelihood and dimension to an APFA igraph object.

Usage

1

Arguments

G

G: An APFA object

Value

The input APFA with additional attributes - edge probabilities, log-likelihood and dimension.

Author(s)

Smitha Ankinakatte and David Edwards

Examples

1
2
3
4
5
6
library(gRapfa)
data(Wheeze)
G <- st(Wheeze)
G.as1 <- add.stats(G)
G.c <- contract.last.level(G)
G.as2 <- add.stats(G.c)

gRapfa documentation built on May 2, 2019, 6:54 a.m.