Chapter Contents

Previous

Next
N

N



Returns the number of nonmissing values

Category: Descriptive Statistics


Syntax
Arguments
Examples

Syntax

N(argument,argument, . . .)

Arguments

argument
is numeric. At least one argument is required. The argument list may consist of a variable list, which is preceded by OF.


Examples

SAS Statements Results
x1=n(1,0,.,2,5,.);
4
x2=n(1,2);
2
x3=n(of x1-x2);
2


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.