max, min for rows and columns?



Sheldon Newhouse escribi?:
> Hello,
>  Is there a function giving the max and min of the rows of a matrix ?
>   
In addition to previous replies,

load(descriptive)$
m:matrix([1,2,3],[4,5,6],[5,2,9])$
mini(m);
maxi(m);
mini(transpose(m));
maxi(transpose(m));

mini and maxi compute the extremes of the columns. This is so because in 
multivariate statistics, the recorded values of a random variable are 
commonly written in columns, and the number of rows equals the sample size.


-- 
Mario Rodriguez Riotorto
www.biomates.net