Column-row wise minima and maxima of two matrices
Column-row wise minima and maxima of two matrices.
colPmax(x, y) colPmin(x, y)
x |
A numerical vector with numbers. |
y |
A numerical vector with numbers. |
The parallel minima or maxima are returned. This are the same as the base functions pmax and pmin.
A numerical vector/matrix with numbers, whose length is equal to the length of the initital matrices containing the maximum or minimum between each pair.
Manos Papadakis
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
x <- matrix(rnorm(100),10,10) y <- matrix(rnorm(100),10,10) res<-colPmax(x, y) res<-colPmin(x, y) x<-y<-NULL
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.