Learn R Programming

Patterns (version 1.2)

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)

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

Examples

Run this code
# NOT RUN {
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