Ctables without heading

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Ctables without heading

emma78
Hi,
do you know if its theoretically possible to make a ctable without displaying the heading?
I have n and % in columns and as a header I have e.g.  gender

CTABLES
  /VLABELS VARIABLES=v_11 gender  DISPLAY=LABEL
  /TABLE v_11 [C][COUNT F40.0, COLPCT.COUNT PCT40.1] BY gender [C]
  /SLABELS VISIBLE=NO
  /CATEGORIES VARIABLES=v_11 gender  ORDER=A KEY=VALUE EMPTY=INCLUDE
  /CRITERIA CILEVEL=95
  /TITLES
    TITLE='A' .

i can add   /SLABELS VISIBLE=NO but then only the word 'count' dissappears.

I know that it  make sense to see which variables are in the columns ;-) but in this case I would like to delete the labels.

Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: Ctables without heading

Jon Peck
Use
 /VLABELS VARIABLES=gender DISPLAY=NONE

On Wed, Aug 23, 2017 at 8:37 AM, emma78 <[hidden email]> wrote:
Hi,
do you know if its theoretically possible to make a ctable without
displaying the heading?
I have n and % in columns and as a header I have e.g.  gender

CTABLES
  /VLABELS VARIABLES=v_11 gender  DISPLAY=LABEL
  /TABLE v_11 [C][COUNT F40.0, COLPCT.COUNT PCT40.1] BY gender [C]
  /SLABELS VISIBLE=NO
  /CATEGORIES VARIABLES=v_11 gender  ORDER=A KEY=VALUE EMPTY=INCLUDE
  /CRITERIA CILEVEL=95
  /TITLES
    TITLE='A' .

i can add   /SLABELS VISIBLE=NO but then only the word 'count' dissappears.

I know that it  make sense to see which variables are in the columns ;-) but
in this case I would like to delete the labels.

Thank you!




--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Ctables-without-heading-tp5734739.html
Sent from the SPSSX Discussion mailing list archive at 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
Reply | Threaded
Open this post in threaded view
|

Re: Ctables without heading

emma78
Hi,
thank you, the word 'gender' disappeared but not 'male and female', is this also possible? :-)
Reply | Threaded
Open this post in threaded view
|

Re: Ctables without heading

Jon Peck
Make all the value labels blank, not empty, like this.
value labels var0001 0 " " 1 " " 2 " " 3 " ".
Use temporary. before this to make this change go away after the procedure is run.

On Thu, Aug 24, 2017 at 2:12 AM, emma78 <[hidden email]> wrote:
Hi,
thank you, the word 'gender' disappeared but not 'male and female', is this
also possible? :-)



--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Ctables-without-heading-tp5734739p5734756.html
Sent from the SPSSX Discussion mailing list archive at 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