LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2011)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 6 Mar 2011 01:11:40 -0800
Reply-To:     drfg2008 <kontakt@datest.de>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         drfg2008 <kontakt@datest.de>
Subject:      different values in a row
Content-Type: text/plain; charset=us-ascii

Is there a command (or a syntax, or python program) that counts different (numerical) values in a row.

Example:

variables: V1 V2 V3 V4 values row1: 1 2 3 4 values row2: 1 1 1 1

row1 has 4 different values: 1-4 row 2 has only one different value: 1

I tried to develop a python program but failed. Also couldn't find a solution on raynald's.

Thanks

----- FUB

-- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/different-values-in-a-row-tp3411280p3411280.html Sent from the SPSSX Discussion mailing list archive at Nabble.com.

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page