Learn R Programming

Patterns (version 1.4)

CascadeFinit: 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)

Value

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

Arguments

sqF

Size of an F cell

ngrp

Number of groups

low.trig

Fill the lower trigonal matrices with ones

Author

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

Run this code

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")

Run the code above in your browser using DataLab