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\).
Arguments
- z
A \(Q \times (Q-L)\) matrix
Value
A square matrix \(Q \times Q\)
Examples
# 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)
#> [,1] [,2] [,3]
#> [1,] 1 4 0.4082483
#> [2,] 2 5 -0.8164966
#> [3,] 3 6 0.4082483