ID Subcommand (CASEPLOT command)

ID names a variable whose values will be used as the left-axis labels.

  • The only specification on ID is a variable name. If you have a variable named ID in your active dataset, the equals sign after the subcommand is required.
  • ID overrides the specification on TSET ID.
  • If ID or TSET ID is not specified, the left vertical axis is labeled with the DATE_ variable created by the DATE command. If the DATE_ variable has not been created, the observation or sequence number is used as the label.

Example

CASEPLOT VARIABLES = VARA
  /ID=VARB. 
  • In this example, the values of the variable VARB will be used to label the left axis of the plot of VARA.