Forms | Function | Example |
!o | to perform an operation on the current field |
!ABS
to take absolute values, |
!o v | to perform an operation involving an argument on the current field, |
!+3 to add 3 to all elements in the field, |
!oVn | to perform an operation o on the current field using the data in another field ( v ) | !-V2 to subtract field 2 from the current field. |
!Vt | to change the field modified by subsequent transformations, |
!V12 changes focus to variable 12 |
!Vt=c | to change all of the data in a target field to a given value, | !V12=1. |
!Vt=Vn | copy field n to field t; special case is !Vt=V0 instructing ASReml to put the record number into the target | !V12=V3 |
!V22=V11which copies field 11 into field 22; if field 22 does not exist in the data it is created; note that subsequent transformations on the line will also apply to the target ,