Example (RANK command)

RANK VARIABLES=SALARY JOBTIME.
  • RANK ranks SALARY and JOBTIME and creates two new variables in the active dataset, RSALARY and RJOBTIME, which contain the ranks.