CascadeFinit: Create initial F matrices for cascade networks inference.

View source: R/global.R

CascadeFinitR Documentation

Create initial F matrices for cascade networks inference.

Description

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

Usage

CascadeFinit(sqF, ngrp, low.trig = TRUE)

Arguments

sqF

Size of an F cell

ngrp

Number of groups

low.trig

Fill the lower trigonal matrices with ones

Value

An array of sizes c(sqF, sqF, ngrp).

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples


CascadeFinit(3,2)
CascadeFinit(4,3)
plotF(CascadeFinit(4,3),choice = "F")
CascadeFinit(3,2,low.trig=FALSE)
CascadeFinit(4,3,low.trig=FALSE)
plotF(CascadeFinit(4,3,low.trig=FALSE),choice = "F")


fbertran/Patterns documentation built on Dec. 8, 2022, 8:48 p.m.