Learn R Programming

LRQMM (version 1.2.2)

PINVmat: Generalized Inverse of A Big Matrix Whit MATLAB

Description

Calucated invesre of the generilzed big matrix with MATLAB

Usage

PINVmat(x, maxTriess = 3000, intervall = 30)

Arguments

x

a numeric matrix

maxTriess

The maximum number of times the connection is check for an answer from the MATLAB server before giving up. Default values is 3000 times.

intervall

The interval in seconds between each poll for an answer. Default interval is 30 (second).

Value

a inverse generalized matrix

Details

see pinv function in MATLAB.

References

[1]Alavian, S. R. (2019). Creating LRQMM package for predicting the breeding value of animals by corrected mixed quantile regression (Unpublished master's thesis). Ferdowsi University Of Mashhad. Mashhad. Iran.[Persian].

Examples

Run this code
# NOT RUN {
M <- rbind(
  c(20, 10, 15,  0,  2),
  c(10,  5,  8,  1,  0),
  c( 0,  1,  2,  6,  3))
#before running this code, be sure for Matlab installation in your system.
# >PINVmat(M)
# }

Run the code above in your browser using DataLab