This function estimates log likelihood value for a given graph.
estLogLik(data, type, gstar, tau, g = NULL)
A data frame in which the columns (subjects) contain a 0/1 value for row (Node or Edge).
The type of graph being used (adjmatrix or adjmatrixlt).
A single vector to estimate the likelihood for.
A single value used in estimating the likelihood.
Deprecated. Replaced with gstar for clarity.
The log-likelihood value of the data.
data(braingraphs)
braingstar <- estGStar(braingraphs)
braintau <- estTau(braingraphs, "adjMatrix", braingstar)
brainll <- estLogLik(braingraphs, "adjMatrix", braingstar, braintau)
brainll
Run the code above in your browser using DataLab