... !r !{ animal animal.time us(2 3 -0.5 2).animal !} ...is equivalent (though not identical because of the scaling differences) to
... !r us(pol(time,1)).animal ...
lambid !P sireid !P damid !P ... wwt ywt ~ Trait Trait.sex !r !{ Trait.lambid at(Trait,1).damid us(3).nrm(lambid) !} ...In the example,
!r !{ animal animal.time !r !{ animal animal.time us(2 3 -0.5 2).animal !}the order of components in the
us(2).animalterm is critically important. For n animals, the solutions for
animal animal.timeappear as n animal effects followed by n animal.time effects which is 2 sets of n effects. The structure
us(2).animalalso implies 2 sets of n effects and therefore matches the order of the fitted effects. However,
animal.us(2)implies n sets of 2 effects which does not match the model terms.