On the analysis of experiments in affine resolvable designs