Learn R Programming

generalCorr (version 1.2.6)

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

Description

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

Usage

minor(x, r, c)

Value

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

Arguments

x

The input matrix

r

The row number

c

The column number

Author

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

Examples

Run this code

if (FALSE) {
 x=matrix(1:20,ncol=4)
minor(x,1,2)}

Run the code above in your browser using DataLab