loc.min {MultiRNG} | R Documentation |
Minimum Location Finder
Description
This function identifies the location of the minimum value in a square matrix.
Usage
loc.min(my.mat,d)
Arguments
my.mat |
A square matrix. |
d |
Dimensions of the matrix. |
Value
A vector containing the row and column number of the minimum value.
Examples
cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3)
loc.min(my.mat=cmat, d=3)
[Package MultiRNG version 1.2.4 Index]