Returns the number of nonmissing values
Category: Descriptive Statistics
N ( argument,argument , )
argument
is numeric. At least one argument is required. The argument list may consist of a variable list, which is preceded by OF.
SAS Statements | Results |
---|---|
x1=n(1,0,.,2,5,.); | 4 |
x2=n(1,2); | 2 |
x3=n(of x1-x2); | 2 |