Learn R Programming

Patterns (version 1.2)

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)

Arguments

sqF

Size of an F cell

ngrp

Number of groups

Value

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

Examples

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