Learn R Programming

Patterns (version 1.4)

IndicFshape: Create F matrices using specific intergroup actions for network inference.

Description

This is an helper function to create values F matrices using specific intergroup actions for network inference.

Usage

IndicFshape(sqF, ngrp, Indic)

Value

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

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

Author

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

Run this code

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

Run the code above in your browser using DataLab