fillout: Make a square matrix

Description Usage Arguments Value See Also Examples

View source: R/fillout.R

Description

The function fillout takes a Q x (Q-L) matrix Z and fills it out so that it is a square matrix Q x Q.

Usage

1

Arguments

z

A Q x (Q-L) matrix

Value

A square matrix Q x Q

See Also

tr, logdet

Examples

1
2
3
4
5
# Create a 3 x 2 matrix
a <- cbind(c(1, 2, 3), c(4, 5, 6))

# Creates a 3 x 3 Matrix from 3 x 2 Data
fillout(a)

msos documentation built on Oct. 31, 2020, 9:07 a.m.