![]() Chapter Contents |
![]() Previous |
![]() Next |
| ORDINAL |
| Category: | Descriptive Statistics |
| Syntax | |
| Arguments | |
| Details | |
| Examples |
Syntax |
| ORDINAL(count,argument,argument, . . .) |
| Details |
The ORDINAL function sorts the list and returns the countth argument in the list.
| Examples |
| SAS Statements | Results |
|---|---|
x1=ordinal(4,1,2,3,-4,5,6,7); |
3 |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.