Sib-pair Command: set missing


ClassGlobal
Nameset missing
Arguments <missing_data_token>

This command sets the token used to represent a missing datum in output. Defaults to "x". This affects the output from write, and print commands.

The main use of this is to produce output to be read into other programs.

Example:

>> include volgaex.in
>> head
! P             S A                                             p
! e             e D                                             r
! d Per Fat Mot x     onset      age    D14S52  D14S43  D14S53  o
AM  101 x   x   m y   43.0000     x       x/x     x/x     x/x   n
AM  102 x   x   f n   77.0000   77.0000  83/87  183/183 151/151 n
AM  203 x   x   f n     x         x      83/93  171/181 151/157 n
AM  201 101 102 m y   41.0000     x       x/x     x/x     x/x   y
AM  202 101 102 m y   43.0000     x       x/x     x/x     x/x   n
AM  204 101 102 m n   63.0000   63.0000   x/x     x/x     x/x   n
AM  205 101 102 m y   46.0000     x      83/87  183/183 151/155 n
AM  206 101 102 m y   41.0000     x      83/87  183/183 151/155 n
AM  207 101 102 m n   52.0000   52.0000   x/x     x/x     x/x   n
AM  208 101 102 m y   41.0000     x      83/87  183/183 151/155 n

>> set mis .

NOTE:  Missing value token set to ".".


>> head
! P             S A                                             p
! e             e D                                             r
! d Per Fat Mot x     onset      age    D14S52  D14S43  D14S53  o
AM  101 x   x   m y   43.0000     .       ./.     ./.     ./.   n
AM  102 x   x   f n   77.0000   77.0000  83/87  183/183 151/151 n
AM  203 x   x   f n     .         .      83/93  171/181 151/157 n
AM  201 101 102 m y   41.0000     .       ./.     ./.     ./.   y
AM  202 101 102 m y   43.0000     .       ./.     ./.     ./.   n
AM  204 101 102 m n   63.0000   63.0000   ./.     ./.     ./.   n
AM  205 101 102 m y   46.0000     .      83/87  183/183 151/155 n
AM  206 101 102 m y   41.0000     .      83/87  183/183 151/155 n
AM  207 101 102 m n   52.0000   52.0000   ./.     ./.     ./.   n
AM  208 101 102 m y   41.0000     .      83/87  183/183 151/155 n


See also:

outputdivert text output to a file


<< (set gen)Up to index>> (set weight)