jmp-l
[Top] [All Lists]

create a column list

To: jmp-l@lists.biostat.wustl.edu
Subject: create a column list
From: "Kossack, William" <KossackW@NJC.ORG>
Date: Thu, 22 Dec 2005 09:55:38 -0700
Thread-index: AcTX1JVVX+jYTA7FQBuVY1lyDsydREvQbusg
Thread-topic: create a column list

I’m trying to use the line

 

valuelabelCol = attrTable << new column("valueLabel", character, width(255));

 

to setup a column to receive the value labels of a column of data

 

however when I try to use

 

for(i=1, i <= n col(dt), i++,

  attrTable << add row(1);

valuelabelCol[row()] = column(dt,i) << get value labels;

);

 

To extract the value labels I get the error

 

_expression_ does not fit available column types{1} in function 'Bad Argument'

 

Obviously I have the wrong data type defined for the column to receive the value labels.  What should it be? 

CONFIDENTIALITY NOTICE: The information contained in this message is legally privileged and confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any release, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the author immediately by replying to this message and delete the original message. Thank you.


<Prev in Thread] Current Thread [Next in Thread>