ising_search: Ising: automated search

Description Usage Arguments Details Value Examples

View source: R/ising_search.R

Description

Data mining to learn the graph.

Usage

1
ising_search(Y, IC = "BIC", progress = TRUE)

Arguments

Y

A data matrix of dimensions n (observations) by p (nodes).

IC

Character string. The desired information criterion. Options include "AIC" and "BIC" (default).

progress

Logical. Should a progress bar be included (defaults to TRUE)?

Details

Only backwards selection is currently implemented.

Value

An object of class ising_search, including wadj (weighted adjacency matrix) and adj (adjacency matrix).

Examples

1
2
3
4
5
# data
Y <- ifelse( ptsd[,1:5] == 0, 0, 1)

# search data
fit <- ising_search(Y)

GGMnonreg documentation built on April 8, 2021, 5:06 p.m.