powered by
Function to do compute the minor of a matrix defined by row r and column c.
minor(x, r, c)
The input matrix
The row number
The column number
The appropriate `minor' matrix defined from the input matrix.
# 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