Re: Custom Tables - Suppressing Rows based on a condition

Posted by Jon Peck on
URL: http://spssx-discussion.165.s1.nabble.com/Custom-Tables-Suppressing-Rows-based-on-a-condition-tp5727353p5740286.html

I was very annoyed about this.  When Development converted this to Python 3, they broke the command so that it would hardly ever
censor a value.  They obviously didn't test the conversion.  I heard about this from a user and fixed the command, but it took a long
time to get it posted on the Extension Hub.

It is there now - version 2.0.1, so reinstall it from the Extension Hub, and you should be good to go.

On Sun, Mar 14, 2021 at 9:31 AM ChrisKeran <[hidden email]> wrote:
Hi Jon,

I tried your example using the Employee.sav file and the SPSSINC CENSOR
TABLES doesn't make any changes. Thoughts?
FYI, I tried changing the DIRECTION=COLUMN or NEIGHBORS=-1 and that had no
effect.

CTABLES
  /VLABELS VARIABLES=jobcat salary DISPLAY=DEFAULT
  /TABLE jobcat BY salary [MEAN, COUNT F40.0]
  /CATEGORIES VARIABLES=jobcat ORDER=A KEY=VALUE EMPTY=INCLUDE
MISSING=EXCLUDE.

SPSSINC CENSOR TABLES
CRITLABEL="Count" TESTTYPE="<" CRITVALUE=30
DIRECTION=ROW NEIGHBORS=0 -1
SUBTYPE="custom table"
/OPTIONS APPENDCAPTION=YES CONDITIONALCAPTION=YES
SYMBOL="---".



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
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


--
Jon K Peck
[hidden email]

===================== 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