Learn R Programming

msos (version 1.2.0)

fillout: Make a square matrix

Description

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

Usage

fillout(z)

Arguments

z

A \(Q \times (Q-L)\) matrix

Value

A square matrix \(Q \times Q\)

See Also

tr, logdet

Examples

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

Run the code above in your browser using DataLab