make_3d_Isingland {Isinglandr}R Documentation

Make a 3D landscape for an Ising network

Description

Similar to make_2d_Isingland(), but two categories of nodes can be specified so the number of active nodes can be calculated separately.

Usage

make_3d_Isingland(thresholds, weiadj, x, y, beta = 1, transform = FALSE)

Arguments

thresholds, weiadj

The thresholds and the weighted adjacency matrix of the Ising network. If you have an IsingFit object estimated using IsingFit::IsingFit(), you can find those two parameters in its components (⁠<IsingFit>$thresholds⁠ and ⁠<IsingFit>$weiadj⁠).

x, y

Two vectors specifying the indices or the names of the nodes for two categories.

beta

The \beta value for calculating the Hamiltonian.

transform

By default, this function considers the Ising network to use -1 and 1 for two states. Set transform = TRUE if the Ising network uses 0 and 1 for two states, which is often the case for the Ising networks estimated using IsingFit::IsingFit().

Value

A ⁠3d_Isingland⁠ object that contains the following components:

See Also

make_2d_Isingland() for the algorithm.


[Package Isinglandr version 0.1.1 Index]