Learn R Programming

Patterns (version 1.4)

CascadeFshape: Create F matrices shaped for cascade networks inference.

Description

This is an helper function to create F matrices with special shape used for cascade networks.

Usage

CascadeFshape(sqF, ngrp)

Value

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

Arguments

sqF

Size of an F cell

ngrp

Number of groups

Author

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

Run this code

CascadeFshape(3,2)
plotF(CascadeFshape(3,2),choice = "Fshape")
CascadeFshape(4,3)
plotF(CascadeFshape(4,3),choice = "Fshape")

Run the code above in your browser using DataLab