MODIFY TABLES: moving row dimension

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MODIFY TABLES: moving row dimension

Melissa Ives

I am completely perplexed.

This modify tables syntax is supposed to move the Statistics dimension from the innermost row to the outermost row, but

It either does nothing or gives me this warning.

 

Warnings

16621,An error occurred in SPSS Statistics Viewer.,

 

I have made several minor edits to attempt to get the right combination, to no avail.

Any advice/assistance would be appreciated.

 

 

cro tab spsmg spsyg spslg by xobs/cells=count col row.

 

SPSSINC MODIFY TABLES subtype="Crosstabulation"

SELECT=0

DIMENSION= ROWS

LEVEL = -1  PROCESS = PRECEDING

/STYLES  APPLYTO=DATACELLS

CUSTOMFUNCTION="customstylefunctions.moveRowDimension(fromdim=1, todim=0)".

 

SPSSINC MODIFY TABLES subtype="Crosstabulation"

SELECT=-1

DIMENSION= ROWS

LEVEL = -1  PROCESS = PRECEDING

/STYLES  APPLYTO=DATACELLS

CUSTOMFUNCTION="customstylefunctions.moveRowDimension(fromdim=1, todim=0)".

 

**drop ‘LEVEL’, try single quotes.

SPSSINC MODIFY TABLES subtype='Crosstabulation'

SELECT=-1

DIMENSION= ROWS

PROCESS = ALL

/STYLES  APPLYTO=DATACELLS

CUSTOMFUNCTION="customstylefunctions.moveRowDimension(fromdim=1, todim=0)".

 

** back to double quotes

SPSSINC MODIFY TABLES subtype="Crosstabulation"

SELECT=-1

DIMENSION= ROWS

/STYLES  APPLYTO=DATACELLS

CUSTOMFUNCTION="customstylefunctions.moveRowDimension(fromdim=1, todim=0)".

 

** back to select=0 and from 0 to 1.

SPSSINC MODIFY TABLES subtype="Crosstabulation"

SELECT=0

DIMENSION= ROWS

/STYLES  APPLYTO=DATACELLS

CUSTOMFUNCTION="customstylefunctions.moveRowDimension(fromdim=0, todim=1)".

 

 

Warnings

16621,An error occured in SPSS Statistics Viewer.,

 

 

 

Melissa Ives

[hidden email]
voice: 309-451-7819

"The difference between the almost right word and the right word is really a large matter -- 'tis the difference between the lightning bug and the lightning." -- Mark Twain

<>< <><



PRIVILEGED AND CONFIDENTIAL INFORMATION
This transmittal and any attachments may contain PRIVILEGED AND
CONFIDENTIAL information and is intended only for the use of the
addressee. If you are not the designated recipient, or an employee
or agent authorized to deliver such transmittals to the designated
recipient, you are hereby notified that any dissemination,
copying or publication of this transmittal is strictly prohibited. If
you have received this transmittal in error, please notify us
immediately by replying to the sender and delete this copy from your
system. You may also call us at (309) 827-6026 for assistance.