neighb_from_prec: Return neighb list from precision structure

Description Usage Arguments Value Examples

View source: R/gmrfops.R

Description

Takes a precision matrix and returns a list of vectors, where the ith vector contains i and the indices of the neighbours of the ith variable.

Usage

1

Arguments

Q

a sparse matrix

Value

a list of vectors as described in the description

Examples

1
2

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.