IndicFinit {Patterns}R Documentation

Create initial F matrices using specific intergroup actions for network inference.

Description

This is an helper function to create initial values F matrices for networks.

Usage

IndicFinit(sqF, ngrp, Indic, low.trig = TRUE)

Arguments

sqF

Size of an F cell

ngrp

Number of groups

Indic

Matrix to specify where there is an interaction from one group to another

low.trig

Fill the lower trigonal matrices with ones

Value

An array of size (sqF, sqF, ngrp).

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples


IndicFinit(3, 2, matrix(1,2,2)-diag(2))


[Package Patterns version 1.5 Index]