At 06:33 AM 5/28/2009, Caleb Ouma wrote:
I am looking at some data with
cropping type by fields. If a crop is intercropped then they fall under
the same field number i.e either 1,2 ... to the highest. i.e if three
crops are intercrpped then the field variable is given the same number,
else they have different numbers. I need to identify the fields which are
intercropped vs pure stands (the ones that are not
intercropped).
Well, there's always (not tested),
AGGREGATE OUTFILE=* MODE=ADDVARIABLES
/BREAK=field
/NCrops 'Number of crops in this field'=NU.
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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