write_mat_to_inv: Change the G-matrix ginv that contains three columns format

Description Usage Arguments Value Examples

Description

Change the G-matrix ginv that contains three columns format

Usage

1
write_mat_to_inv(x, type = c("ginv", "inv", "none"), digits = 10)

Arguments

x

A matrix that is G-matrix

Value

Three column that contains row, column, and the value of a matrix

Examples

1
2
3
4
rMinv <- matrix(1:25,5,5)
rMinv
res <- write_mat_to_inv(rMinv,type = "none")
res

dengfei2013/GS documentation built on May 16, 2019, 7:29 a.m.