Substitution transformations REPLACE RESCALE SEQ SET SUB
!REPLACE old new
replaces data values
with new values
in the current variable.
Rate !REPLACE -9 0
!RESCALE o s
rescales the column(s) in the current variable,
group of variables, by adding
and scaling the result by
Rate !RESCALE -10 0.1
replaces the data value
with a sequential number starting at 1 which increments whenever the
data value changes between successive records; the current field is
presumed to define a factor and the number of levels in the new
factor is set to the number of levels identified in this sequential
process. Missing values remain missing.
plot !=V3 !SEQ
for a list of
replaces the data values
by the corresponding element from
data values less than 1 or greater than
are replaced by zero.
may run over several lines provided each incomplete line
ends with a comma, i.e., a comma is used as a continuation symbol.
treat !L C A B
CvR !=treat !SET 1 -1 -1
group !=treat !SET 1,
2 2 3 3 4
replaces data values which appear in the list
with their position number. Data values not found in
are set to 0.0.
run over several lines provided each incomplete line
ends with a comma. ASReml allows for a small rounding error when
matching. It may not distinguish properly if values in
differ in the sixth decimal place.
year 3 !SUB 1966 1967 1968
Return to start