Sib-pair Command: set ndecimal_width


ClassGlobal
Nameset ndecimal_width
Arguments [<nwid>] <ndec>

The total width (number of characters) of a quantitative variable written to a new pedigree file or to the screen defaults to 9 (and is fixed to 8 for some files, notably MENDEL and FISHER) but can be set as high as 20 for GAS and LINKAGE format files. The number of decimal places can be set to ndec.

Example:

>> set ndecimal_width

NOTE:  Number of decimal digits w.d w= 9 d= 4

>> head
!
!               S
!               e
!  Pers Fat Mot x    dob
!
44 1    x   x   m *********
44 2    x   x   m *********
44 3    x   x   m *********
44 4    x   x   m *********
44 5    x   x   m *********
44 6    x   x   m *********
44 7    x   x   f *********
44 8    x   x   f *********
48 10   x   x   f     x
48 56   x   x   f     x

>>  set ndecimal_width 10 0

NOTE:  Number of decimal digits w.d w=10 d= 0

>> head
!
!               S
!               e
!  Pers Fat Mot x    dob
!
44 1    x   x   m  19330715.
44 2    x   x   m  19380218.
44 3    x   x   m  19430613.
44 4    x   x   m  19310301.
44 5    x   x   m  19470919.
44 6    x   x   m  19560615.
44 7    x   x   f  19700906.
44 8    x   x   f  19620809.
48 10   x   x   f          x
48 56   x   x   f          x


<< (set gui)Up to index>> (set epoch)