Dear Chris,
If 'x' is your matrix, you could try this:
tail(sort(apply(x,1,max)),2)
HTH,
Jorge
On Sat, Sep 20, 2008 at 8:48 PM, Chris82 <[EMAIL PROTECTED]> wrote:
>
> Hello R users,
>
> is there a possibility to get the relativ maximum of a matrix?
> To get the absolut maximum I use max(matri
Hello R users,
is there a possibility to get the relativ maximum of a matrix?
To get the absolut maximum I use max(matrix)
For example:
The absolut maximum of this matrix is 6[3,6], but the relativ maximum is
6[3,6] and 4[7,6], because both values are the highest value in comparison
to their e
2 matches
Mail list logo