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

Share:

Description

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

Usage

1
minor(x, r, c)

Arguments

x

The input matrix

r

The row number

c

The column number

Value

The appropriate ‘minor’ matrix defined from the input matrix.

Note

This function is needed by the cofactor function.

Author(s)

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

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.