make_Ising_grid: Make a Grid to Specify Multiple Ising Networks

View source: R/Ising_grid.R

make_Ising_gridR Documentation

Make a Grid to Specify Multiple Ising Networks

Description

Specify one or two varying parameters for Ising networks. The output of make_Ising_grid() can be used to make landscapes of multiple networks.

Usage

make_Ising_grid(par1, par2 = NULL, thresholds, weiadj, beta = 1)

Arguments

par1, par2

Generated from one of single_threshold(), all_thresholds(), single_wei()⁠, [whole_weiadj()], or [beta_list()]. Use ⁠par2 = NULL' if you only want to vary one parameter.

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⁠).

beta

The \beta value for calculating the Hamiltonian.

Details

There are five possible ways to vary the parameters for Ising networks, corresponding to five control functions:

  • single_threshold() Vary a threshold value for a single variable.

  • all_thresholds() Vary all threshold values together.

  • single_wei() Vary a single weight value for a path between two variables.

  • whole_weiadj() Vary the whole weighted adjacency matrix.

  • beta_list() Use a list of different beta values.

See make_Ising_grid-control-functions for details.

Value

An Ising_grid object that is based on a tibble and contains the information of all simulation conditions.


Isinglandr documentation built on July 26, 2023, 5:34 p.m.