minor function

Function to do compute the minor of a matrix defined by row r and column c.

Function to do compute the minor of a matrix defined by row r and column c.

minor(x, r, c)

Arguments

  • x: The input matrix
  • r: The row number
  • c: The column number

Returns

The appropriate `minor' matrix defined from the input matrix.

Note

This function is needed by the cofactor function.

Examples

## Not run: x=matrix(1:20,ncol=4) minor(x,1,2) ## End(Not run)

Author(s)

Prof. H. D. Vinod, Economics Dept., Fordham University, NY

  • Maintainer: H. D. Vinod
  • License: GPL (>= 2)
  • Last published: 2023-10-09

Useful links