Dear all,

Can anyone help me convert SAS code to R in lme or lmer, especially in
random statement part?

Here is SAS code:
proc glimmix data=df;
class trial block trt;
model y=trt;
random trial block(trial) trt(block*trial);

Thanks in advance,

Steve

	[[alternative HTML version deleted]]

