Chapter Contents |
Previous |
Next |
RANGE |
Category: | Descriptive Statistics |
Syntax | |
Arguments | |
Details | |
Examples |
Syntax |
RANGE(argument,argument, . . .) |
Details |
The RANGE function returns the difference between the largest and the smallest of the nonmissing arguments.
Examples |
SAS Statements | Results |
---|---|
x0=range(.,.); |
. |
x1=range(-2,6,3); |
8 |
x2=range(2,6,3,.); |
4 |
x3=range(1,6,3,1); |
5 |
x4=range(of x1-x3); |
4 |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.