pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: casereader numbering


From: Jason Stover
Subject: Re: casereader numbering
Date: Thu, 17 Jul 2008 15:18:33 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Jul 17, 2008 at 07:31:30PM +0800, John Darrington wrote:
> I've started  rewriting EXAMINE to make it less crappy.
> 
> One thing that would make it easier would be a function of the form
> 
>  struct casereader * append_case_numbers (struct casereader *cr);
> 
> which returns a new casereader which is identical to CR except that it
> has one extra column which contains the ordinal number of each case.
> 
> For example if CR contains
> 
> x y
> z .
> a b
> c d
> 
> the return will contain
> 
> x y 1
> z . 2
> a b 3
> c d 4
> 
> 
> Such a function would also simply the implementation of RANK...

This would be valuable for other procedures, too. Anything that
could use permutations could make use of such a function. Also, it
would be useful for bootstrap and jacknife tests.

-Jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]