SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

DATA MISSING VALUE (SET)

Name:
    DATA MISSING VALUE (SET)
Type:
    Subcommand under SET
Purpose:
    Specifies a character sequence that will be interpreted as a missing value.
Description:
    Some software programs will have special characters to denote missing values. Missing value flags are specific to individual programs. You can specify a character string that denotes a missing value with the command

      SET DATA MISSING VALUE <value>

    where <value> is a string with 1 to 4 characters. If Dataplot encounters <value> in a numeric field, it will convert it to the Dataplot "missing value". The missing value string is not case sensitive. You can specify what Dataplot will use for the missing value by entering the command

      SET READ MISSING VALUE <value>

    where <value> is a numeric value. The default is 0.

    The example program demonstrates how to convert "MV" to the machine minimum value.

Syntax:
    SET DATA MISSING VALUE <string>
    where <string> is a character string that has from 1 to 4 characters.
Examples:
    SET DATA MISSING VALUE MV
    SET DATA MISSING VALUE ZZZZ
Note:
    Currently, only a single missing value flag is supported. If the data file has multiple flags for missing values, the only current solution is to manually edit the file and replace the character values with numeric values.

    The string "NAN" (not case sensitive) is automatically searched. This is interpreted as an undefined number (this is the value used to print an undefined number on many systems).

Note:
    The SET DATA MISSING VALUE and the SET READ MISSING VALUE commands are related, but distinct. The SET DATA MISSING VALUE command specifies a string that will be interpreted to denote a missing value when reading a data set while SET READ MISSING VALUE specifies the numeric value that will be used when a missing value is encountered.
Default:
    None
Synonyms:
    None
Related Commands:
    READ = Carries out a column-wise input of data.
    READ MISSING VALUE (SET) = Specifies the numeric value that will be used when an empty, missing, or undefined value is encountered in a numeric field.
    ASCII Files Guidance for reading ASCII files in Dataplot.
Applications:
    Input/Output
Implementation Date:
    2009/4
Program:
     
    SET DATA MISSING VALUE MV
    PROBE CPUMIN
    LET AVAL = PROBEVAL
    SET READ MISSING VALUE AVAL
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 4/27/2009
Last updated: 10/13/2015

Please email comments on this WWW page to alan.heckert@nist.gov.