Command Reference
:
Function Reference
:
Function Reference: N
@nan
Element Functions
Recode missing values
.
Syntax:
@nan
(
x, y
)
x:
number
y:
number
Return: number
Returns
, if
is non-missing (not an NA or blank string); otherwise returns
.
Examples
show @pmax(x,-999)
returns a linked series that is identical to
x
except that NAs are replaced by the number -999.
Cross-references
See also
@iif
,
@recode
, and
@bridge
.