Learn R Programming

IsingSampler (version 0.2.3)

IsingEntrophy: Entropy of the Ising Model

Description

Returns (marginal/conditional) Shannon information of the Ising model.

Usage

IsingEntrophy(graph, thresholds, beta = 1, conditional = numeric(0), 
          marginalize = numeric(0), base = 2, responses = c(0L, 1L))

Arguments

graph

Weights matrix

thresholds

Thresholds vector

beta

Inverse temperature

conditional

Indices of nodes to condition on

marginalize

Indices of nodes to marginalize over

base

Base of the logarithm

responses

Vector of outcome responses.

Author

Sacha Epskamp <mail@sachaepskamp.com>