Learn R Programming

generalCorr (version 1.2.0)

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)

Arguments

x

The input matrix

r

The row number

c

The column number

Value

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

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
 x=matrix(1:20,ncol=4)
minor(x,1,2)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab