rect2square: Convert rectanguar matrices to square matrices (same number...

View source: R/rect2square.R

rect2squareR Documentation

Convert rectanguar matrices to square matrices (same number of columns and rows)

Description

Convert rectanguar matrices to square matrices (same number of columns and rows)

Usage

rect2square(list1, is.gw = FALSE)

Arguments

list1

List with the interaction matrices

is.gw

Was the dataset downloaded from Globalweb? (TRUE/FALSE)

Value

A list of square matrices (not simetrical).

Examples

data(mg1)
mg3 <- rect2square(mg1)

FMestre1/fw_package documentation built on March 24, 2022, 1:27 a.m.