comparison scripts/statistics/base/ranks.m @ 3453:71d2e09c15a2

[project @ 2000-01-18 08:32:09 by jwe]
author jwe
date Tue, 18 Jan 2000 08:32:15 +0000
parents f8dde1807dee
children 434790acb067
comparison
equal deleted inserted replaced
3452:a892190f4977 3453:71d2e09c15a2
12 ## 12 ##
13 ## You should have received a copy of the GNU General Public License 13 ## You should have received a copy of the GNU General Public License
14 ## along with this file. If not, write to the Free Software Foundation, 14 ## along with this file. If not, write to the Free Software Foundation,
15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 16
17 ## usage: ranks (x) 17 ## -*- texinfo -*-
18 ## @deftypefn {Function File} {} ranks (@var{x})
19 ## If @var{x} is a vector, return the (column) vector of ranks of
20 ## @var{x} adjusted for ties.
18 ## 21 ##
19 ## If x is a vector, return the (column) vector of ranks of x adjusted 22 ## If @var{x} is a matrix, do the above for each column of @var{x}.
20 ## for ties. 23 ## @end deftypefn
21 ## If x is a matrix, do the above for each column of x.
22 24
23 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 25 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at>
24 ## Description: Compute ranks 26 ## Description: Compute ranks
25 27
26 ## This code is rather ugly, but is there an easy way to get the ranks 28 ## This code is rather ugly, but is there an easy way to get the ranks